Skip to content

Commit 311d9ec

Browse files
committed
feat: replace npm install with npm ci.
1 parent d9bc353 commit 311d9ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:22.14.0
22
WORKDIR /usr/local/app
33
COPY package*.json ./
4-
RUN npm install
4+
RUN npm ci --include=prod
55
COPY . .
66
EXPOSE 3000
77
CMD ["sh", "-c", "npm run build && npm run start"]

0 commit comments

Comments
 (0)