Spaces:
Runtime error
Runtime error
update dockerfile with the right port
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -22,4 +22,6 @@ EXPOSE 8501
|
|
22 |
# # Set the default command to run the app
|
23 |
# CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
24 |
# Set the default command to run the app
|
25 |
-
CMD ["streamlit", "run", "app.py", "--server.port=${PORT:-8501}", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
|
|
|
|
|
|
22 |
# # Set the default command to run the app
|
23 |
# CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
24 |
# Set the default command to run the app
|
25 |
+
# CMD ["streamlit", "run", "app.py", "--server.port=${PORT:-8501}", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
|
26 |
+
|
27 |
+
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|