Spaces:
Sleeping
Sleeping
Modified Dockerfile to fit HF rules
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -16,4 +16,7 @@ RUN echo $(ls -1 .. )
|
|
16 |
|
17 |
RUN pip3 install -r requirements.txt
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
16 |
|
17 |
RUN pip3 install -r requirements.txt
|
18 |
|
19 |
+
# For Windows Docker execution, uncomment below:
|
20 |
+
#ENTRYPOINT ["streamlit", "run", "Corriger.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
21 |
+
# For HuggingFace execution, uncommment below:
|
22 |
+
ENTRYPOINT ["streamlit", "run", "Corriger.py", "--server.port=7860"]
|