Skip to content

Instantly share code, notes, and snippets.

@hassaku63
Created August 31, 2019 06:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hassaku63/14fecbdbfa0b3583a669e9d3a06d69a1 to your computer and use it in GitHub Desktop.
Save hassaku63/14fecbdbfa0b3583a669e9d3a06d69a1 to your computer and use it in GitHub Desktop.
FROM python:3.5.2
RUN mkdir -p /usr/src/app
ADD isucon6-webapp/python/requirements.txt /usr/src/app/
ADD isucon6-webapp /usr/src/app/
RUN pip install -r /usr/src/app/requirements.txt
RUN pip install gunicorn
WORKDIR /usr/src/app/python/
EXPOSE 5000
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:5000"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment