Files
evilspins/Dockerfile
valere e577c3b116
All checks were successful
Deploy App / build (push) Successful in 1m12s
Deploy App / deploy (push) Successful in 17s
again
2025-11-07 22:08:41 +01:00

17 lines
311 B
Docker

# Builder
FROM node:20-bookworm AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install --legacy-peer-deps
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"]