Skip to content

Commit

Permalink
Only install prod dep
Browse files Browse the repository at this point in the history
  • Loading branch information
chralp committed Jan 10, 2020
1 parent f543ba9 commit 575b632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ RUN apt-get update && apt-get install -y
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
RUN npm install --production
COPY . /usr/src/app
CMD [ "npm", "start" ]

0 comments on commit 575b632

Please sign in to comment.