Created
April 12, 2017 19:37
-
-
Save pst/fb950a7c18505c80c111500c9aaccfbf 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:2.7 | |
RUN echo 'debconf debconf/frontend select Noninteractive' \ | |
| debconf-set-selections \ | |
&& apt-get update -qq \ | |
&& apt-get upgrade -y | |
ENV PYTHONUNBUFFERED 1 | |
RUN mkdir /srv/www | |
WORKDIR /srv/www | |
ADD requirements.txt /srv/www/ | |
RUN pip install -r requirements.txt | |
ADD . /srv/www/ | |
ENTRYPOINT ["python", "api/api.py", "--port=8001"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment