This repository demonstrates a simple frontend app using HTML, CSS, and JavaScript. It includes a GitHub Actions CI/CD pipeline to automate building and deploying the app inside a Docker container.
- Clone the repository:
git clone https://github.com/yourusername/frontend-app.git cd frontend-app
- Build the Docker image:
docker build -t frontend-app .
- Run the Docker container:
docker run -p 8080:80 frontend-app
- Open your browser and go to
http://localhost:8080
.
The pipeline is configured in GitHub Actions to:
- Run tests.
- Build the Docker image.
- Push the image to Docker Hub (or other registries).