cmc-sales/run_docker.sh
2019-04-06 22:16:13 +11:00

5 lines
194 B
Bash

ID=$(docker ps -f ancestor=cmc:latest -q)
docker kill $ID
sleep 1
docker run -d -p 8888:80 --mount type=bind,source="$(pwd)"/app/webroot/pdf,target=/var/www/cmc-sales/app/webroot/pdf cmc:latest