muryshev commited on
Commit
cffeaf0
·
verified ·
1 Parent(s): 54585e2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- hf secrets login $(cat /run/secrets/HF_TOKEN) && \
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