update dkr
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-26 00:06:11 +03:30
parent 7911bde449
commit e4326e46dc
+6 -6
View File
@@ -6,11 +6,14 @@ RUN apk add --no-cache tzdata \
&& cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime \
&& echo "Asia/Tehran" > /etc/timezone
ENV npm_config_nodedir=/usr/local \
SHARP_IGNORE_GLOBAL_LIBVIPS=1
FROM base AS deps
WORKDIR /deps
RUN apk add --no-cache python3 make g++ vips-dev
RUN apk add --no-cache python3 make g++
COPY package.json package-lock.json ./
@@ -21,8 +24,6 @@ FROM base AS prod-deps
WORKDIR /deps
RUN apk add --no-cache python3 make g++ vips-dev
COPY package.json package-lock.json ./
RUN --mount=type=cache,target=/root/.npm \
@@ -32,7 +33,7 @@ FROM base AS builder
WORKDIR /build
RUN apk add --no-cache python3 make g++ vips-dev
RUN apk add --no-cache python3 make g++
COPY package.json package-lock.json nuxt.config.js ./
COPY assets components layouts middleware mixins modules pages plugins server static store ./
@@ -45,8 +46,7 @@ FROM base AS runner
WORKDIR /app
RUN apk add --no-cache vips \
&& addgroup -S appgroup \
RUN addgroup -S appgroup \
&& adduser -S appuser -G appgroup
ENV NODE_ENV=production \