Python 3 flask server using nginx and uwsgi
Python 3, Flask, nginx, uwsgi example
A docker example loosely based on tiangolo/uwsgi-nginx-flask:flask, which is
python 2.7 only.
Make yourself a dockerfile with the following:
FROM openlab/flask-nginx COPY . /app
And name your flask app
server.py. That's it!
You may want to optionally install some requirements. Add this:
# Install requirements COPY conf/requirements.txt . RUN pip install -r requirements.txt
Docker Pull Command