postserve/Dockerfile
Matthew Blissett 3a4b3b4408 WIP: add buffers to layers (according to layer configuration).
Multithread application — this is done badly, as I don't know the proper
way to do it in Python.
2017-09-01 15:30:34 +02:00

15 lines
349 B
Docker

FROM python:3.6
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
VOLUME /mapping
COPY . /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "-u","/usr/src/app/server.py"]
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
emacs-nox