#!/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