Peter Mutwiri commited on
Commit
27b5b82
·
1 Parent(s): 9dfb88b

added no cache

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -16,7 +16,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
16
 
17
  # ---- 3. upgrade pip & enable pre-built wheels ------------------------------
18
  RUN pip install --no-cache-dir --upgrade pip setuptools wheel
19
-
 
20
  # ---- 4. install Python deps (+ DuckDB driver) ------------------------------
21
  COPY requirements.txt /tmp/requirements.txt
22
  RUN pip install --no-cache-dir --prefer-binary -r /tmp/requirements.txt && \
 
16
 
17
  # ---- 3. upgrade pip & enable pre-built wheels ------------------------------
18
  RUN pip install --no-cache-dir --upgrade pip setuptools wheel
19
+ # Invalidate pip cache on every build
20
+ ENV PIP_NO_CACHE_DIR=1
21
  # ---- 4. install Python deps (+ DuckDB driver) ------------------------------
22
  COPY requirements.txt /tmp/requirements.txt
23
  RUN pip install --no-cache-dir --prefer-binary -r /tmp/requirements.txt && \