Skip to content

Containerizing a Python Flask application with Nginx on Ubuntu. It includes a directory structure, Dockerfiles, docker-compose configuration, and instructions to set up the environment and run the application.

Notifications You must be signed in to change notification settings

Habibullah339/Containerization_of_python_flask_app_nginx_on_ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containerization_of_python_flask_app_nginx_on_ubuntu

Step 01

Create directory tree like this or clone this repo

├── app
│   ├─── app.py
│   └─── requirements.txt
├── nginx
│   └─── nginx.conf
├── docker-compose.yml
├── Dockerfile

Step 02

See Dockerfile, dokcer-compose and nginx for any configurations change

Step 03

Build docker compose

docker-compose buid

Step 04

Run docker compose

docker-compose up -d

That's it you have now running python flask application on nginx in Ubuntu.

About

Containerizing a Python Flask application with Nginx on Ubuntu. It includes a directory structure, Dockerfiles, docker-compose configuration, and instructions to set up the environment and run the application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published