Containerized Flask web application built with Python and Docker.
25
A simple Flask web application containerized with Docker.
The application is packaged into a lightweight Docker image using python:3.11-slim.
docker pull aryanaroraa/simple-flask-app:1.0
docker run -d \
--name flask-app \
-p 80:80 \
aryanaroraa/simple-flask-app:1.0
Then open http://localhost in your browser.
.
├── app/
│ ├── __init__.py
│ └── ...
├── run.py
├── requirements.txt
└── Dockerfile
The image uses python:3.11-slim as the base image, installs the required Python dependencies, copies the application into the container, and starts the Flask application.
aryanaroraa/simple-flask-app:1.0
Content type
Image
Digest
sha256:ec367a081…
Size
50.4 MB
Last updated
1 day ago
docker pull aryanaroraa/simple-flask-app:1.0