docker_practice/compose/demo/django/Dockerfile

8 lines
144 B
Go
Raw Normal View History

2017-11-23 15:48:52 +08:00
FROM python:3
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
ADD requirements.txt /code/
RUN pip install -r requirements.txt
ADD . /code/