mirror of
https://github.com/elyby/accounts.git
synced 2024-11-23 05:33:20 +05:30
Improve install command for builds
This commit is contained in:
parent
df340a6ad2
commit
d32849a85b
@ -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
|
||||
|
@ -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 контейнера на всякий случай
|
||||
|
@ -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 -
|
||||
|
||||
# Наконец переносим все сорцы внутрь контейнера
|
||||
|
Loading…
Reference in New Issue
Block a user