shamik
commited on
feat: updated dockerfile.
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -21,7 +21,9 @@ 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 |
|
@@ -30,5 +32,4 @@ ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_
|
|
30 |
|
31 |
# RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
|
32 |
|
33 |
-
|
34 |
-
# CMD ["python", "app.py"]
|
|
|
21 |
|
22 |
RUN mkdir db
|
23 |
|
24 |
+
# RUN pip install --no-cache-dir -r requirements.txt
|
25 |
+
RUN pip install uv
|
26 |
+
RUN uv sync
|
27 |
|
28 |
RUN huggingface-cli download Shamik/arxiv_cs_2020_07_2025 --repo-type dataset --local-dir ./db
|
29 |
|
|
|
32 |
|
33 |
# RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
|
34 |
|
35 |
+
CMD ["python", "app.py"]
|
|