Sign inSign up

mptrabalho/flask

By mptrabalho

•Updated over 2 years ago

Image
0

1.5K

mptrabalho/flask repository overview

⁠Smartlab Flask

Please, use this docker-composer⁠ to run the full stack NGINX > uWSGI > Flask

⁠Run app with pure Flask
 docker run -p 8080:5000 -d -v /path/app:/app smartlab/flask
⁠Run app with uWSGI
 docker run -p 8080:5000 -d -v /path/app:/app smartlab/flask uwsgi
⁠Run app in debug mode
docker run -p 8080:5000 -d -v /path/app:/app smartlab/flask debug
⁠Run tools to test code quality
 docker run -p 8080:5000 -d -v /path/app:/app smartlab/flask test
⁠Run terminal to inspect container
 docker run -p 8080:5000 -it -v /path/app:/app smartlab/flask terminal

Note: the main file must be named as /app/main.py

Tag summary

Content type

Image

Digest

sha256:99799e5d3…

Size

213.9 MB

Last updated

over 2 years ago

docker pull mptrabalho/flask