We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80809c7 commit fb2a539Copy full SHA for fb2a539
Dockerfile
@@ -5,7 +5,7 @@ WORKDIR /usr/src/app
5
COPY package.json package-lock.json ./
6
RUN npm clean-install
7
COPY . .
8
-RUN npm run build
+RUN npm run build && npm prune --omit=dev
9
10
FROM node:16-bullseye-slim
11
WORKDIR /usr/src/app
0 commit comments