coderuday21 commited on
Commit
e0949ca
·
1 Parent(s): 148396a

HF: relax pip wheel-only; upgrade pip tools

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -19,13 +19,14 @@ WORKDIR /app
19
 
20
  # Build-time info + cache-bust:
21
  # Changing APP_BUILD forces Docker to re-run subsequent layers (including pip install).
22
- ARG APP_BUILD=8
23
  ENV APP_BUILD=${APP_BUILD}
24
  RUN echo "Docker build start: APP_BUILD=${APP_BUILD}" && python -V
25
 
26
  # Install Python dependencies
27
  COPY requirements.txt .
28
- RUN pip install --no-cache-dir --disable-pip-version-check --default-timeout=120 --prefer-binary --only-binary=:all: -r requirements.txt -v
 
29
 
30
  # Copy application code
31
  COPY . .
 
19
 
20
  # Build-time info + cache-bust:
21
  # Changing APP_BUILD forces Docker to re-run subsequent layers (including pip install).
22
+ ARG APP_BUILD=9
23
  ENV APP_BUILD=${APP_BUILD}
24
  RUN echo "Docker build start: APP_BUILD=${APP_BUILD}" && python -V
25
 
26
  # Install Python dependencies
27
  COPY requirements.txt .
28
+ RUN pip install --no-cache-dir --disable-pip-version-check --default-timeout=120 -U pip setuptools wheel
29
+ RUN pip install --no-cache-dir --disable-pip-version-check --default-timeout=120 --prefer-binary -r requirements.txt -v
30
 
31
  # Copy application code
32
  COPY . .