feat: add Dockerfile

This commit is contained in:
Maël Gangloff
2025-12-30 17:34:26 +01:00
parent d76b107b74
commit 98c9ac7880
2 changed files with 14 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM docker.io/node:22-alpine
ENV NODE_ENV=production
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev && npm cache clean --force
COPY . .
USER node
EXPOSE 3000
CMD ["npm", "start"]