Last active
October 30, 2020 16:22
-
-
Save OtherDevOpsGene/2070f307e1e52c629959f0ce267c551e to your computer and use it in GitHub Desktop.
Host a static website by hand
This file contains hidden or 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
| cd | |
| git clone https://github.com/OtherDevOpsGene/states-docker-demo.git states | |
| cd states/www/html | |
| pwd | |
| ls | |
| docker run --name www \ | |
| -v /home/ubuntu/states/www/html:/usr/share/nginx/html:ro \ | |
| -d -p 80:80 nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment