Skip to content

Commit

Permalink
Add comment for production build (#1428)
Browse files Browse the repository at this point in the history
  • Loading branch information
allevo authored and Milos Jevtovic committed Nov 1, 2017
1 parent 73e478c commit 4f5b72d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions locale/en/docs/guides/nodejs-docker-webapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ COPY package.json .
# COPY package.json package-lock.json ./
RUN npm install
# If you are building your code for production
# RUN npm install --only=production
```

Note that, rather than copying the entire working directory, we are only copying
Expand Down Expand Up @@ -149,6 +151,8 @@ COPY package.json .
# COPY package.json package-lock.json ./
RUN npm install
# If you are building your code for production
# RUN npm install --only=production
# Bundle app source
COPY . .
Expand Down

0 comments on commit 4f5b72d

Please sign in to comment.