1
0

fix: atomic setup transaction, prune devDependencies from runtime image

This commit is contained in:
2026-08-29 18:46:07 +02:00
parent 56ffda9e88
commit b55a1f8cc1
2 changed files with 20 additions and 12 deletions

View File

@@ -13,6 +13,7 @@ RUN npm ci
COPY tsconfig.json vitest.config.ts ./
COPY server ./server
RUN npm run build:server && npm test
RUN npm prune --omit=dev
# ---- runtime stage ----
FROM node:22-slim