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

This commit is contained in:
2026-06-26 17:58:41 +03:30
parent d70ccbb995
commit 2fa26c4778
2 changed files with 7 additions and 14 deletions
+6 -14
View File
@@ -6,17 +6,6 @@ RUN apk add --no-cache tzdata \
ENV npm_config_nodedir=/usr/local
FROM base AS deps
WORKDIR /deps
RUN apk add --no-cache python3 make g++
COPY package.json package-lock.json ./
RUN --mount=type=cache,target=/root/.npm \
npm ci
FROM base AS prod-deps
WORKDIR /deps
@@ -32,11 +21,14 @@ FROM base AS builder
WORKDIR /build
RUN apk add --no-cache python3 make g++
RUN apk add --no-cache python3 make g++ vips-dev
COPY . .
COPY package.json package-lock.json ./
COPY --from=deps /deps/node_modules ./node_modules
RUN --mount=type=cache,target=/root/.npm \
npm ci
COPY assets components layouts middleware mixins modules pages plugins server static store nuxt.config.js ./
RUN npm run build