Created
February 24, 2017 23:46
-
-
Save krrg/865fc98d3c56e80f6e40c9fb28933d71 to your computer and use it in GitHub Desktop.
WSGI Dockerfile / Elastic Beanstalk
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:2.7 | |
ADD . /app | |
WORKDIR /app | |
RUN pip install -r requirements.txt | |
CMD gunicorn --bind=0.0.0.0:13300 --max-requests=1200 --max-requests-jitter=300 --workers=8 --worker-class=gevent main:app | |
EXPOSE 13300 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment