This project demonstrates how to run a simple static HTML web page inside a Docker container using Nginx as a web server.
The HTML page displays a short welcome message and a link to a LinkedIn profile.
The project also shows how to update the HTML content and see the changes instantly in the browser.
- codes/index.html → The main HTML web page file.
- Dockerfile → Instructions for building the Docker image with Nginx.
- screenshots/ → Step-by-step visual documentation.
- Create a basic HTML page (codes/index.html) containing the desired message and link.
- Use a Dockerfile to copy the HTML file into an Nginx container.
- Build and run the container, exposing it to a specific port (e.g., 8080).
- Access the page via a web browser using the server’s Public IP and port.
- Update the HTML file to change the displayed message and re-deploy if needed.
Note: The HTML code is located in (codes/index.html).

Shows the simple HTML code located in codes/index.html.

Container creation from Nginx image and container details.

The HTML page displayed successfully after entering the Public IP and port 8080.

Modification of the displayed message in the HTML file.

Browser view after updating the HTML message.
A basic HTML web page was successfully hosted inside a Docker container using Nginx, with the ability to quickly update and view changes in real-time.
This project is licensed under the MIT License - see the LICENSE file for details.