postserve/Dockerfile

18 lines
422 B
Docker
Raw Normal View History

FROM python:3.6
2017-05-04 19:30:28 -04:00
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
2017-05-04 20:53:06 -04:00
VOLUME /mapping
2019-01-16 17:44:49 +01:00
COPY requirements.txt /usr/src/app/
2017-05-04 19:30:28 -04:00
RUN pip install --no-cache-dir -r requirements.txt
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
emacs-nox
2019-01-16 17:44:49 +01:00
#CMD ["python", "-u","/usr/src/app/server.py"]
CMD ["sh","/usr/src/app/start.sh"]
2019-01-16 17:44:49 +01:00
COPY . /usr/src/app/