feat: Add docker deployment

This commit is contained in:
Björn Benouarets
2025-11-04 22:23:29 +01:00
parent ca581a382f
commit aef92df592
4 changed files with 100 additions and 1 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:22-alpine AS runner
WORKDIR /app
COPY --from=builder /app ./
EXPOSE 3000
CMD ["npm", "start"]