summaryrefslogtreecommitdiff
path: root/docker-run.sh
blob: b94566bc5c4b9aee0def5030db5eecb2e141c98c (plain)
1
2
3
4
5
6
FLAG=-it
if [ "$1" == "-d" ]; then
  FLAG="-d"
fi

docker run $FLAG -v $PWD/www:/usr/share/nginx/html:ro -p 80:80 nginx:latest