Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
edysegura committed Jul 17, 2019
1 parent 5268fa8 commit 2e269a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ WORKDIR /usr/src/app
# A wildcard is used to ensure both package.json AND package-lock.json are copied
COPY package*.json ./

RUN npm install
# If you are building your code for production
# RUN npm ci --only=production
# Building your code for production
RUN npm ci --only=production

# Bundle app source
COPY . .
Expand Down

0 comments on commit 2e269a1

Please sign in to comment.