Skip to content

Syntax-Vibe/hello-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐳 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

About

A simple Dockerized Python project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published