Only deploy production packages in Dockerfile

pull/28/head
Clement Michaud 2017-05-14 13:36:57 +02:00
parent 55c56e5da8
commit 88815ec90a
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
FROM node FROM node:7-alpine
WORKDIR /usr/src WORKDIR /usr/src
COPY package.json /usr/src/package.json COPY package.json /usr/src/package.json
RUN npm install RUN npm install --production
COPY src /usr/src COPY src /usr/src