We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9bc353 commit 311d9ecCopy full SHA for 311d9ec
1 file changed
Dockerfile
@@ -1,7 +1,7 @@
1
FROM node:22.14.0
2
WORKDIR /usr/local/app
3
COPY package*.json ./
4
-RUN npm install
+RUN npm ci --include=prod
5
COPY . .
6
EXPOSE 3000
7
CMD ["sh", "-c", "npm run build && npm run start"]
0 commit comments