Add package-lock.json, fix Dockerfile npm install

This commit is contained in:
Etienne Delvarre
2026-05-28 13:46:19 +02:00
parent ce95a02012
commit 50d5ac518d
2 changed files with 842 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
RUN npm install --omit=dev
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]