Skip to content

Mostafa13mo/flask-python-app-with-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Flask Environment Info App

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.


🚀 Features

  • 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

🧩 Project Structure

. ├── app.py ├── requirements.txt └── Dockerfile

🐳 Running with Docker

1️⃣ Build the image

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   

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published