Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Docker Skeleton

Run production server

localhost:5000 -> ((nginx:80 -> socket -> uwsgi) + supervisord)

$ docker-compose up

Run development server

Development server supports auto reload after every code change. a flask app derectly runs on localhost:5000.

$ python app/server.py

When you change the ini files under etc directory, copy it directly to the docker container so that you can save your build time.

$ docker cp app/etc/nginx.conf app:/etc/nginx/nginx.conf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages