Execute following command:
docker run --rm -v="$PWD":/var/www/html \ -v="$PWD"/nginx.conf:/etc/nginx/conf.d/default.conf \ -p 8000:80 nginx:alpine
Replace 8000 with any port you want