Shamik commited on
Commit
b5c18b6
·
unverified ·
1 Parent(s): e1e8a7f

fix: unable to download the ds.

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -20,13 +20,15 @@ ENV PYTHONPATH=/app
20
  ENV HF_HOME=/tmp/cache/
21
 
22
  RUN mkdir db
23
- RUN huggingface-cli download Shamik/arxiv_cs_2020_07_2025 --repo-type dataset --local-dir ./db
24
 
25
  RUN pip install --no-cache-dir -r requirements.txt
26
 
 
 
 
27
  ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
28
 
29
- RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
30
 
31
  # FIXME
32
  # CMD ["python", "app.py"]
 
20
  ENV HF_HOME=/tmp/cache/
21
 
22
  RUN mkdir db
 
23
 
24
  RUN pip install --no-cache-dir -r requirements.txt
25
 
26
+ RUN huggingface-cli download Shamik/arxiv_cs_2020_07_2025 --repo-type dataset --local-dir ./db
27
+
28
+
29
  ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
30
 
31
+ # RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
32
 
33
  # FIXME
34
  # CMD ["python", "app.py"]