Created
January 14, 2018 15:51
-
-
Save trstringer/c12c5b7b5f4f8425eddf14816b781cad to your computer and use it in GitHub Desktop.
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:alpine3.6 | |
WORKDIR /usr/src/app | |
EXPOSE 8000 | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
CMD ["gunicorn", "--workers=2", "--bind=0.0.0.0:8000", "app:app"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment