qinling/runtimes/python2/Dockerfile
Lingxian Kong ebe601b8f5 Disable python buffer for stdout/stderr
Change-Id: I6f4a0aaf192df76d21c72529c92b6419c9f4b08d
2017-07-17 23:47:23 +12:00

14 lines
350 B
Docker

FROM phusion/baseimage:0.9.22
MAINTAINER lingxian.kong@gmail.com
RUN apt-get update
RUN apt-get -y install python-dev python-setuptools libffi-dev libxslt1-dev libxml2-dev libyaml-dev libssl-dev python-pip
RUN pip install -U pip setuptools
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "-u"]
CMD ["server.py"]