Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -41,9 +41,11 @@ COPY . .
|
|
| 41 |
# Disable Gradio analytics (optional, but good for Spaces)
|
| 42 |
ENV GRADIO_ANALYTICS_ENABLED="False"
|
| 43 |
|
| 44 |
-
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
| 47 |
|
| 48 |
|
| 49 |
|
|
|
|
| 41 |
# Disable Gradio analytics (optional, but good for Spaces)
|
| 42 |
ENV GRADIO_ANALYTICS_ENABLED="False"
|
| 43 |
|
| 44 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 45 |
|
| 46 |
+
# EXPOSE 7860
|
| 47 |
+
|
| 48 |
+
# CMD ["python", "app.py"]
|
| 49 |
|
| 50 |
|
| 51 |
|