HUB
Sign inSign up
flask logo

smartlab/flask

By smartlab

•Updated about 6 years ago

Smartlab Flask

Image
4

2.9K

smartlab/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
Recent tags
Content type
Image
Digest
Size
169.7 MB
Last updated
about 6 years ago
docker pull smartlab/flask:latest