fix: atomic setup transaction, prune devDependencies from runtime image
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user