Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -22,7 +22,10 @@ RUN pip install -r requirements.txt
|
|
| 22 |
|
| 23 |
|
| 24 |
EXPOSE 7860
|
| 25 |
-
CMD ["streamlit", "run", "app.py", "--server.port=7860"]
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
# Expose the port Streamlit will run on
|
| 28 |
#EXPOSE 8051
|
|
|
|
| 22 |
|
| 23 |
|
| 24 |
EXPOSE 7860
|
| 25 |
+
#CMD ["streamlit", "run", "app.py", "--server.port=7860"]
|
| 26 |
+
|
| 27 |
+
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=true"]
|
| 28 |
+
|
| 29 |
|
| 30 |
# Expose the port Streamlit will run on
|
| 31 |
#EXPOSE 8051
|