Running docker container for a simple website.
In this repo, we are going to build a docker image that can run a simple website using official build of image Nginx.
Check out the demo:
- See the docker documentation for installation docker
- Clone this repo
- In the terminal, go to the root folder of this repo
- run
docker build -t web-docker:latest .
- then,
docker run --name web-docker -p 9080:80 -d web-docker:latest