mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-19 07:18:06 +02:00
Added --no-cache-dir
option to all Python pip commands in Dockerfiles (#113)
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>
This commit is contained in:
parent
a2cf9cc9f3
commit
a42a8531ab
4 changed files with 4 additions and 4 deletions
|
@ -2,6 +2,6 @@ FROM python:3.7
|
|||
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN pip install -r requirements.txt
|
||||
RUN pip install -r requirements.txt --no-cache-dir
|
||||
|
||||
CMD ["./server.py"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue