summaryrefslogtreecommitdiff
path: root/docker-run.sh
blob: b4759c7965c914256ae847267e070f9c26b51889 (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 nginx:latest