This repository contains a simple static website designed for learning and practicing Jenkins CI/CD pipelines. The website is built using HTML and CSS and can be deployed on a Dockerized Nginx server.
- Static Pages:
- Homepage with an About and Contact section.
- Responsive Design:
- Basic CSS for a clean and simple layout.
static-website/ ├── index.html # Main HTML file ├── styles.css # Stylesheet for the website └── README.md # Project documentation
git clone https://github.com/your-username/static-website.git
cd static-website- Run Locally Open index.html in your browser to view the website locally.
- Run an Nginx Container:
docker run -d --name nginx-server -p 8080:80 nginx- Copy Files to Nginx Server:
docker cp ./index.html nginx-server:/usr/share/nginx/html/
docker cp ./styles.css nginx-server:/usr/share/nginx/html/- Access the Website:
Open http://localhost:8080 in your browser.