Spaces:
Running
Running
cb
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM python:3.12
|
2 |
|
3 |
-
ARG CACHEBUSTER=
|
4 |
RUN echo "Cache busting: ${CACHEBUSTER}"
|
5 |
|
6 |
|
@@ -22,10 +22,11 @@ WORKDIR /app
|
|
22 |
# We'll use build arguments and ARGs to pass the token
|
23 |
ARG REPO_URL="github.com/Jhsmit/instagibbs.git"
|
24 |
|
|
|
25 |
# The secret 'github_token' must be provided during the build
|
26 |
RUN --mount=type=secret,id=GITHUB_TOKEN \
|
27 |
git clone https://$(cat /run/secrets/GITHUB_TOKEN)@${REPO_URL} instagibbs
|
28 |
-
|
29 |
# clone the datasets repo
|
30 |
RUN git clone https://github.com/Jhsmit/HDX-MS-datasets
|
31 |
|
|
|
1 |
FROM python:3.12
|
2 |
|
3 |
+
ARG CACHEBUSTER=3
|
4 |
RUN echo "Cache busting: ${CACHEBUSTER}"
|
5 |
|
6 |
|
|
|
22 |
# We'll use build arguments and ARGs to pass the token
|
23 |
ARG REPO_URL="github.com/Jhsmit/instagibbs.git"
|
24 |
|
25 |
+
ARG CACHEBUSTER
|
26 |
# The secret 'github_token' must be provided during the build
|
27 |
RUN --mount=type=secret,id=GITHUB_TOKEN \
|
28 |
git clone https://$(cat /run/secrets/GITHUB_TOKEN)@${REPO_URL} instagibbs
|
29 |
+
|
30 |
# clone the datasets repo
|
31 |
RUN git clone https://github.com/Jhsmit/HDX-MS-datasets
|
32 |
|