π³ Hello Docker
A simple Dockerized Python App with CI/CD using GitHub Actions
This project is designed to demonstrate the basics of containerization and automation in a DevOps workflow.
π Project Structure
hello-docker/
βββ app.py # Simple Python script
βββ Dockerfile # Docker instructions
βββ .github/workflows/ # GitHub Actions workflow (ci.yml)
βββ README.md # Project documentation
π How to Run the App
Using Docker: docker build -t hello-docker . docker run hello-docker
β Sample Output: Hello from inside a Docker container!
βοΈ CI/CD with GitHub Actions
This project uses GitHub Actions for continuous integration.
On every push or pull request to the main branch:
- β Code is checked out
- π Python 3.10 is set up
βΆοΈ Python script (app.py) is executed
π‘ You can view the status and logs in the Actions tab of this repository.
π What I Learned
- Docker basics: writing a Dockerfile, building and running containers
- Using GitHub Actions for CI pipelines
- Automating Python project testing and execution
- Structuring DevOps-ready repositories
π Useful Commands
Build Docker image: docker build -t hello-docker .
Run the container: docker run hello-docker
π§βπ» Author
Syntax-Vibe-Amir
GitHub: github.com/Syntax-Vibe