Sign inSign up

smartlab/flask

By smartlab

•Updated almost 6 years ago

Smartlab Flask

Image
4

2.6K

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

Content type

Image

Digest

Size

169.7 MB

Last updated

almost 6 years ago

docker pull smartlab/flask