You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
406 B
9 lines
406 B
1 year ago
|
#!/usr/bin/env bash
|
||
|
docker run --network=host --rm -v /mnt/data/repository:/home/code/env/maven/repository -v $PWD:/home/code/admin \
|
||
|
caiqy/code-build-env:latest -c 'source ~/.bashrc && cd admin && yarn install && yarn run build' \
|
||
|
&& docker build -t edu-training-admin:3.0.0.RELEASE . \
|
||
|
&& cd ../edu_training/ \
|
||
|
&& docker-compose stop admin \
|
||
|
&& docker-compose rm -f admin \
|
||
|
&& docker-compose up -d admin
|