Spaces:
Sleeping
Sleeping
Commit
·
5890620
1
Parent(s):
d174ad1
- Dockerfile +7 -4
Dockerfile
CHANGED
@@ -66,7 +66,8 @@ RUN python3 -m pip install hdbscan
|
|
66 |
RUN python3 -c "\
|
67 |
from huggingface_hub import snapshot_download; \
|
68 |
snapshot_download(repo_id='gregorkrzmanc/jetclustering', local_dir='models/'); \
|
69 |
-
snapshot_download(repo_id='gregorkrzmanc/jetclustering_demo', local_dir='demo_datasets/',
|
|
|
70 |
# remove pip cache
|
71 |
RUN python3 -m pip cache purge
|
72 |
|
@@ -86,8 +87,10 @@ RUN cd /opt/pepr/lgatr/ && python3 -m pip install .
|
|
86 |
|
87 |
RUN cd /opt/pepr && git clone https://github.com/cms-pepr/pytorch_cmspepr
|
88 |
RUN cd /opt/pepr/pytorch_cmspepr/ && python3 -m pip install .
|
89 |
-
|
90 |
-
RUN ls
|
91 |
# entrypoint run app.py with python
|
92 |
-
|
|
|
|
|
|
|
93 |
|
|
|
66 |
RUN python3 -c "\
|
67 |
from huggingface_hub import snapshot_download; \
|
68 |
snapshot_download(repo_id='gregorkrzmanc/jetclustering', local_dir='models/'); \
|
69 |
+
snapshot_download(repo_id='gregorkrzmanc/jetclustering_demo', local_dir='demo_datasets/', \
|
70 |
+
='dataset')"
|
71 |
# remove pip cache
|
72 |
RUN python3 -m pip cache purge
|
73 |
|
|
|
87 |
|
88 |
RUN cd /opt/pepr && git clone https://github.com/cms-pepr/pytorch_cmspepr
|
89 |
RUN cd /opt/pepr/pytorch_cmspepr/ && python3 -m pip install .
|
90 |
+
|
|
|
91 |
# entrypoint run app.py with python
|
92 |
+
EXPOSE 7860
|
93 |
+
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
94 |
+
CMD ["python", "app.py"]
|
95 |
+
|
96 |
|