Spaces:
Running
on
Zero
Running
on
Zero
raghav
commited on
Commit
·
778a1e9
1
Parent(s):
3c53360
Force Docker cache bust to rebuild with new requirements
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -17,6 +17,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 17 |
# Copy requirements first for better caching
|
| 18 |
COPY requirements.txt .
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
# Install Python dependencies
|
| 21 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 22 |
pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 17 |
# Copy requirements first for better caching
|
| 18 |
COPY requirements.txt .
|
| 19 |
|
| 20 |
+
# Cache bust - change this value to force rebuild
|
| 21 |
+
ARG CACHEBUST=3
|
| 22 |
+
|
| 23 |
# Install Python dependencies
|
| 24 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 25 |
pip install --no-cache-dir -r requirements.txt
|