fix: skip husky in production image
Validate and deploy staging / validate (push) Successful in 24s
Validate and deploy production / validate (push) Successful in 26s
Validate and deploy staging / deploy (push) Successful in 1m16s
Validate and deploy production / deploy (push) Successful in 34s

This commit is contained in:
jb
2026-08-01 21:47:15 -04:00
parent dd84dff055
commit bc40a737a8
3 changed files with 14 additions and 1 deletions
+2
View File
@@ -2,6 +2,7 @@
FROM node:24-bookworm-slim AS dependencies
WORKDIR /app
COPY package.json package-lock.json .npmrc ./
COPY scripts/prepare.mjs ./scripts/prepare.mjs
RUN npm ci
FROM dependencies AS build
@@ -13,6 +14,7 @@ RUN npm run build:app
FROM node:24-bookworm-slim AS runtime-dependencies
WORKDIR /app
COPY package.json package-lock.json .npmrc ./
COPY scripts/prepare.mjs ./scripts/prepare.mjs
RUN npm ci --omit=dev && npm cache clean --force
FROM node:24-bookworm-slim AS runtime