try fix C1
All checks were successful
Deploy App / build (push) Successful in 22s
Deploy App / deploy (push) Successful in 21s

This commit is contained in:
valere
2025-11-07 20:46:34 +01:00
parent f187390038
commit 282e892d1c
3 changed files with 6 additions and 15 deletions

View File

@@ -1,15 +1,15 @@
# Builder
FROM node:20-bookworm AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --verbose
RUN npm ci
COPY . .
RUN npm run build
# Runtime
FROM node:20-slim AS runner
WORKDIR /app
COPY --from=builder /app/.output ./.output
COPY package*.json ./
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]