docker for flask projects
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
flask_app
.gitignore
Dockerfile
Makefile
README.md
aa.txt
daocloud.yml
gunicorn.supervisor.conf
gunicorn_conf.py
nginx.conf
nginx.supervisor.conf

README.md

shipped to Daocloud

Deprecated

1.be sure about the gunicorn command to trigger the flask app

2.create dir that contains the your own project:RUN mkdir /app/flask_app

3.add the whole prject files to the dir just created :ADD flask_app/ /app/flask_app

4.change the expose port of Docker and the listen port of nginx