Created
June 18, 2019 15:01
-
-
Save biancarosa/89abff3b8e972965fd57c36f8daddb26 to your computer and use it in GitHub Desktop.
Python Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.7 | |
COPY requirements.txt /app/ | |
WORKDIR /app | |
RUN pip install -r requirements.txt | |
COPY . /app | |
CMD ["gunicorn", "run:app", "-w", "4", "-b", "0.0.0.0:5000", "-t", "1000"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment