Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -15,8 +15,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y git && \
|
|
| 15 |
RUN pip install -U "huggingface_hub[cli]"
|
| 16 |
|
| 17 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
| 18 |
-
|
| 19 |
-
hf repo clone myrushev/nn-legal-search-data /var/www/data
|
| 20 |
|
| 21 |
|
| 22 |
RUN pip install -r requirements.txt
|
|
|
|
| 15 |
RUN pip install -U "huggingface_hub[cli]"
|
| 16 |
|
| 17 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
| 18 |
+
huggingface-cli download muryshev/nn-legal-search-data --repo-type dataset --token=$(cat /run/secrets/HF_TOKEN)
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
RUN pip install -r requirements.txt
|