#242: reduce npm verbosity in containers and in CI

This commit is contained in:
SleepWalker
2016-12-04 15:12:36 +02:00
parent 999f8237e4
commit 7a8f9950ab
3 changed files with 6 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ COPY ./frontend/scripts /var/www/frontend/scripts
COPY ./frontend/webpack-utils /var/www/frontend/webpack-utils
RUN cd ../frontend \
&& npm install \
&& npm install --quiet --depth -1 \
&& cd -
# Наконец переносим все сорцы внутрь контейнера
@@ -43,7 +43,7 @@ RUN mkdir -p api/runtime api/web/assets console/runtime \
# Билдим фронт
&& cd frontend \
&& ln -s /var/www/frontend/node_modules $PWD/node_modules \
&& npm run build \
&& npm run build:quite --quiet \
&& rm node_modules \
# Копируем билд наружу, чтобы его не затёрло volume в dev режиме
&& cp -r ./dist /var/www/dist \