remove node_modules during the frontend building process

This commit is contained in:
igoradamenko
2018-03-26 16:02:05 +03:00
parent 7854fb1a8f
commit 8976bd0e0c
+1
View File
@@ -20,6 +20,7 @@ FROM node:9.4-alpine as build-frontend
ADD web /srv/web
RUN \
cd /srv/web && \
rm -rf ./node_modules && \
npm i && npm run build