Only deploy production packages in Dockerfile
parent
55c56e5da8
commit
88815ec90a
|
@ -1,9 +1,9 @@
|
|||
FROM node
|
||||
FROM node:7-alpine
|
||||
|
||||
WORKDIR /usr/src
|
||||
|
||||
COPY package.json /usr/src/package.json
|
||||
RUN npm install
|
||||
RUN npm install --production
|
||||
|
||||
COPY src /usr/src
|
||||
|
||||
|
|
Loading…
Reference in New Issue