Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -21,6 +21,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 21 |
# Copy app code and model
|
| 22 |
COPY app.py naxi_lowlight.keras /app/
|
| 23 |
|
| 24 |
-
#
|
| 25 |
-
|
| 26 |
-
CMD ["streamlit", "run", "app.py"]
|
|
|
|
| 21 |
# Copy app code and model
|
| 22 |
COPY app.py naxi_lowlight.keras /app/
|
| 23 |
|
| 24 |
+
# The CMD command MUST specify port 7860 for Hugging Face Spaces
|
| 25 |
+
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|
|
|