From 3970b489fba1e41ec4f07c0cb0681456be7404ec Mon Sep 17 00:00:00 2001 From: Nir Galon Date: Tue, 22 Aug 2017 10:56:37 +0300 Subject: [PATCH] Remove sw npm script because there is none after upgrade to ng-cli 1.3.x (#78) --- client/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/Dockerfile b/client/Dockerfile index 4ff59a3..c6bc278 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -18,8 +18,7 @@ RUN npm install # Bundle app source COPY . /usr/src/app -RUN npm run build -- --prod -RUN npm run sw +RUN npm run build EXPOSE 4200 CMD ["nginx", "-g", "daemon off;"]