From 88815ec90a74db1593794d42a0bc0952bb523eac Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Sun, 14 May 2017 13:36:57 +0200 Subject: [PATCH] Only deploy production packages in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1bf24d1d..b535f8bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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