Merge pull request #62 from maelgangloff/feat/docker

feat: add Dockerfile
This commit is contained in:
Salman Qureshi
2026-01-08 14:45:38 +05:30
committed by GitHub
2 changed files with 14 additions and 0 deletions

3
.dockerignore Normal file
View File

@@ -0,0 +1,3 @@
node_modules/
assets/
.dockercontainer.json

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"]