Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,8 @@ COPY requirements.txt .
|
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
# 3. Clone the Private Repository
|
|
|
|
|
|
|
| 13 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
| 14 |
export HF_TOKEN=$(cat /run/secrets/HF_TOKEN) && \
|
| 15 |
git clone https://bigbossmonster:${HF_TOKEN}@huggingface.co/spaces/bigbossmonster/srtcheckrepo /app/private_code
|
|
|
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
# 3. Clone the Private Repository
|
| 13 |
+
ARG CACHE_BUST=1
|
| 14 |
+
|
| 15 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
| 16 |
export HF_TOKEN=$(cat /run/secrets/HF_TOKEN) && \
|
| 17 |
git clone https://bigbossmonster:${HF_TOKEN}@huggingface.co/spaces/bigbossmonster/srtcheckrepo /app/private_code
|