docker_practice/compose/demo/django/Dockerfile
2017-11-23 15:48:52 +08:00

8 lines
144 B
Docker

FROM python:3
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
ADD requirements.txt /code/
RUN pip install -r requirements.txt
ADD . /code/