Change run_docker.sh to not expose port 8888 to world

This commit is contained in:
Karl Cordes 2019-04-21 13:19:50 +10:00
parent df1d396630
commit 8b1244a548

View file

@ -1,4 +1,4 @@
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
docker run -d -p 127.0.0.1:8888:80 --mount type=bind,source="$(pwd)"/app/webroot/pdf,target=/var/www/cmc-sales/app/webroot/pdf cmc:latest