This project shows how to run a Python web application using Docker.
- Runs a Python HTTP server
- Displays an HTML page in the browser
- Uses Docker to run the app inside a container
- Works on any operating system
- Python
- Docker
- HTML
- HTTP Server
- app.py → Python server code
- Dockerfile → Docker instructions
- index.html → Web page
- README.md → Project explanation
Build the Docker image: docker build -t docker-python-web-app .
Run the container: docker run -d -p 9000:9000 docker-python-web-app
Open in browser: http://localhost:9000
- How Python can act as a web server
- How Docker containers work
- How ports connect server and browser
A screen recording of this project is shared on LinkedIn.