Change run_docker.sh to not expose port 8888 to world
This commit is contained in:
parent
df1d396630
commit
8b1244a548
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue