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.
8 lines
365 B
8 lines
365 B
1 year ago
|
#!/usr/bin/env bash
|
||
|
docker run --rm -v /mnt/data/repository:/home/code/env/maven/repository -v $PWD:/home/code/api \
|
||
|
caiqy/code-build-env:noproxy -c 'source ~/.bashrc && cd api && mvn clean package -Dmaven.test.skip=true' \
|
||
|
&& docker build . -t edu-training-api:3.0.0.RELEASE \
|
||
|
&& docker-compose stop api \
|
||
|
&& docker-compose rm -f api \
|
||
|
&& docker-compose up -d api
|