RayMelius Claude Opus 4.6 commited on
Commit
e124be3
Β·
1 Parent(s): 4508d2e

Pin new pip dependency versions to force Docker layer rebuild

Browse files

Previous push was fully cached by HF Spaces. Pinning explicit versions
(numpy, pandas, scikit-learn, stable-baselines3, huggingface_hub) changes
the RUN command text, which invalidates the Docker layer cache.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. Dockerfile +6 -8
Dockerfile CHANGED
@@ -28,20 +28,18 @@ RUN wget -q \
28
  && mv /opt/kafka_2.13-${KAFKA_VERSION} /opt/kafka \
29
  && rm /tmp/kafka.tgz
30
 
31
- # Cache-bust: increment to force pip reinstall on HF Spaces
32
- ARG PIP_CACHE_BUST=2
33
-
34
  # Install Python dependencies (quickfix compiles from source – allow extra time)
 
35
  RUN pip install --no-cache-dir \
36
  kafka-python==2.0.2 \
37
  Flask==2.2.5 \
38
  requests==2.31.0 \
39
  quickfix \
40
- numpy \
41
- pandas \
42
- scikit-learn \
43
- "stable-baselines3[extra]" \
44
- huggingface_hub
45
 
46
  # ── Application code (flat layout matching /app container paths) ──────────────
47
  WORKDIR /app
 
28
  && mv /opt/kafka_2.13-${KAFKA_VERSION} /opt/kafka \
29
  && rm /tmp/kafka.tgz
30
 
 
 
 
31
  # Install Python dependencies (quickfix compiles from source – allow extra time)
32
+ # v2.0.2: added numpy, pandas, scikit-learn, stable-baselines3, huggingface_hub
33
  RUN pip install --no-cache-dir \
34
  kafka-python==2.0.2 \
35
  Flask==2.2.5 \
36
  requests==2.31.0 \
37
  quickfix \
38
+ numpy==2.2.3 \
39
+ pandas==2.2.3 \
40
+ scikit-learn==1.6.1 \
41
+ "stable-baselines3==2.4.1" \
42
+ huggingface_hub==0.28.1
43
 
44
  # ── Application code (flat layout matching /app container paths) ──────────────
45
  WORKDIR /app