Skip to content

Commit a3ff291

Browse files
authored
Don't use cache dir for pip (#67)
For example, see IBM/MAX-Object-Detector#163
1 parent e819204 commit a3ff291

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ WORKDIR /home/max
2626
RUN mkdir assets
2727
COPY . .
2828
RUN conda install python==3.7.11
29-
RUN pip install --upgrade pip && pip install -r requirements.txt
29+
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt

Dockerfile.arm32v7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ WORKDIR /home/max
3131
RUN mkdir assets
3232

3333
COPY . .
34-
RUN pip install --upgrade pip && pip install -r requirements.txt
34+
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt
3535

0 commit comments

Comments
 (0)