Spaces:
Sleeping
Sleeping
another attempt at cache busting
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
FROM python:3.12
|
| 2 |
|
| 3 |
-
ARG CACHEBUSTER=
|
| 4 |
RUN echo "Cache busting: ${CACHEBUSTER}"
|
| 5 |
|
| 6 |
|
|
@@ -31,6 +31,10 @@ RUN git clone https://github.com/Jhsmit/HDX-MS-datasets
|
|
| 31 |
|
| 32 |
# Install requirements
|
| 33 |
WORKDIR /app/instagibbs
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
RUN uv pip install -e .
|
| 35 |
|
| 36 |
# Switch to non-root user
|
|
|
|
| 1 |
FROM python:3.12
|
| 2 |
|
| 3 |
+
ARG CACHEBUSTER=2
|
| 4 |
RUN echo "Cache busting: ${CACHEBUSTER}"
|
| 5 |
|
| 6 |
|
|
|
|
| 31 |
|
| 32 |
# Install requirements
|
| 33 |
WORKDIR /app/instagibbs
|
| 34 |
+
|
| 35 |
+
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
|
| 36 |
+
RUN git pull
|
| 37 |
+
|
| 38 |
RUN uv pip install -e .
|
| 39 |
|
| 40 |
# Switch to non-root user
|