Spaces:
Running
Running
Anirudh Esthuri
commited on
Commit
·
d2e40af
1
Parent(s):
a2c6cb7
Switch back to main app.py
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -49,5 +49,5 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
|
| 49 |
|
| 50 |
# Run Streamlit app using PORT env var from Hugging Face Spaces
|
| 51 |
# HuggingFace sets $PORT, don't override it. Default to 7860 if not set.
|
| 52 |
-
#
|
| 53 |
-
CMD ["bash", "-c", "echo Using PORT=${PORT:-7860} && streamlit run
|
|
|
|
| 49 |
|
| 50 |
# Run Streamlit app using PORT env var from Hugging Face Spaces
|
| 51 |
# HuggingFace sets $PORT, don't override it. Default to 7860 if not set.
|
| 52 |
+
# Try the main app now
|
| 53 |
+
CMD ["bash", "-c", "echo Using PORT=${PORT:-7860} && streamlit run app.py --server.address=0.0.0.0 --server.port=${PORT:-7860}"]
|