This commit is contained in:
dineshbotcha91 2021-06-18 20:09:12 +05:30 committed by GitHub
commit 99d4371f3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -27,4 +27,7 @@ To run the image in a Docker container, use the following command
$ docker run -itd --name mycontainer --publish 8080:80 <docker-hub-username>/staticsite:1.0 $ docker run -itd --name mycontainer --publish 8080:80 <docker-hub-username>/staticsite:1.0
``` ```
This will start serving the static site on port 8080. If you visit `http://localhost:8080` in your browser, you should be able to see our static site! This will start serving the static site on port 8080. If you visit `http://localhost:8080` in your browser, you should be able to see our static site!
Demof of git

View File

@ -1,3 +1,3 @@
<h1>Hello World!</h1> <h1>Hello mahesh!</h1>
<p>This is a simple static website being served from Nginx running inside a Docker container!</p> <p>This is a simple static website being served from Nginx running inside a Docker container!</p>