Improve install command for builds

This commit is contained in:
SleepWalker 2017-10-17 21:00:35 +03:00
parent df340a6ad2
commit d32849a85b
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ test:frontend:
- frontend/node_modules
script:
- cd frontend
- npm i --silent > /dev/null
- npm run build:install --silent
- npm run lint --silent
# - npm run flow --silent # disabled due to missing libelf.so.1 in docker container
- npm run test --silent

View File

@ -34,7 +34,7 @@ COPY ./frontend/scripts /var/www/frontend/scripts
COPY ./frontend/webpack-utils /var/www/frontend/webpack-utils
RUN cd ../frontend \
&& npm install --quiet --depth -1 \
&& npm run build:install \
&& cd -
# Удаляем ключи из production контейнера на всякий случай

View File

@ -34,7 +34,7 @@ COPY ./frontend/scripts /var/www/frontend/scripts
COPY ./frontend/webpack-utils /var/www/frontend/webpack-utils
RUN cd ../frontend \
&& npm install --quiet --depth -1 \
&& npm run build:install \
&& cd -
# Наконец переносим все сорцы внутрь контейнера