Created
August 2, 2022 17:44
-
-
Save jhordyess/46903c6dea1ab91e49c9146ee22c1c1d to your computer and use it in GitHub Desktop.
Temporal Nginx server with Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
printf "Absolute path: " | |
read dir | |
echo "Running in http://localhost:80" | |
docker run -it --rm -v ${dir}:/usr/share/nginx/html/ -p 80:80 nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment