We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbd8c6d commit f5197e9Copy full SHA for f5197e9
src/v2/cookbook/dockerize-vuejs-app.md
@@ -22,8 +22,8 @@ WORKDIR /app
22
# copy both 'package.json' and 'package-lock.json' (if available)
23
COPY package*.json ./
24
25
-# install project dependencies leaving out dev dependencies
26
-RUN npm install --production
+# install project dependencies
+RUN npm install
27
28
# copy project files and folders to the current working directory (i.e. 'app' folder)
29
COPY . .
@@ -66,7 +66,7 @@ Let's refactor our `Dockerfile` to use NGINX:
66
FROM node:lts-alpine as build-stage
67
WORKDIR /app
68
69
70
71
RUN npm run build
72
0 commit comments