postserve/Dockerfile

11 lines
201 B
Docker
Raw Permalink Normal View History

FROM python:3.7
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
2017-05-04 19:30:28 -04:00
COPY . /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "-u","/usr/src/app/server.py"]