Files
evilspins/Dockerfile
valere 403afdfbc3
All checks were successful
Deploy App / build (push) Successful in 48s
Deploy App / test (push) Successful in 49s
Deploy App / deploy (push) Successful in 16s
drop build stage to make server change works on prod
2025-09-18 14:45:54 +02:00

13 lines
218 B
Docker

FROM node:20-alpine AS build
WORKDIR /app
RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml* ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]