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
410 B
8 lines
410 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-websocket:3.0.0.RELEASE \
|
||
|
&& docker-compose stop websocket-on-wan \
|
||
|
&& docker-compose rm -f websocket-on-wan \
|
||
|
&& docker-compose up -d websocket-on-wan
|