awesome-compose/nginx-flask-mongo/flask/Dockerfile
Andy Madge 82239d0424 Added --no-cache-dir option to all Python pip commands in Dockerfiles
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>
2021-03-21 22:59:06 +00:00

8 lines
111 B
Docker
Executable File

FROM python:3.7
WORKDIR /src
COPY . .
RUN pip install -r requirements.txt --no-cache-dir
CMD ["./server.py"]