DevDocs-2.sh
· 253 B · Bash
Ham
# First, build the image
git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs
docker build -t thibaut/devdocs .
# Finally, start a DevDocs container (access http://localhost:9292)
docker run --name devdocs -d -p 9292:9292 thibaut/devdocs
1 | # First, build the image |
2 | git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs |
3 | docker build -t thibaut/devdocs . |
4 | |
5 | # Finally, start a DevDocs container (access http://localhost:9292) |
6 | docker run --name devdocs -d -p 9292:9292 thibaut/devdocs |