A simple Flask application that displays environment information such as the app name and environment type.
Useful for testing environment variables, Docker builds, and deployment pipelines in DevOps workflows.
- Lightweight Flask app written in Python
- Displays environment variables (
APP_NAME
,APP_ENV
) - Configurable via Docker environment variables
- Perfect for Docker, Kubernetes, or CI/CD testing
. ├── app.py ├── requirements.txt └── Dockerfile
docker build -t flask-env-app .
docker run -d \
-e APP_NAME="My Flask App" \
-e APP_ENV="production" \
-p 5000:5000 \
flask-env-app
Then open your browser at 👉 http://localhost:5000