a42a8531ab
The cache gives no benefit to a Docker image but it does add size, hence it's best left out. Signed-off-by: Andy Madge <andymadge@gmail.com>
9 lines
213 B
Docker
9 lines
213 B
Docker
FROM python:3.7-alpine
|
|
EXPOSE 8000
|
|
WORKDIR /app
|
|
COPY requirements.txt /app
|
|
RUN pip3 install -r requirements.txt --no-cache-dir
|
|
COPY . /app
|
|
ENTRYPOINT ["python3"]
|
|
CMD ["manage.py", "runserver", "0.0.0.0:8000"]
|