Skip to content

akanksha106-code/docker-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Flask Application with Docker

A minimal Flask application running inside a Docker container.

Project Structure


.
├── app.py       # Flask application
├── Dockerfile   # Docker configuration
└── README.md    # Documentation

Requirements

  • Docker installed on your system
  • Python 3.9+ (optional, for running locally without Docker)

Running the Application

Run Locally (without Docker)

pip install flask
python app.py

Open http://127.0.0.1:5000 in your browser.

Run with Docker

# Build the image
docker build -t flask-app .

# Run the container
docker run -p 5000:5000 flask-app

Access the application at http://localhost:5000 .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published