Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -22,9 +22,9 @@ RUN pip install --no-cache-dir --upgrade pip \
|
|
| 22 |
# Copy the rest of the application files
|
| 23 |
COPY . .
|
| 24 |
|
| 25 |
-
# Expose port (HF Spaces use 7860 by default – flask here uses
|
| 26 |
-
EXPOSE
|
| 27 |
|
| 28 |
# Start the server
|
| 29 |
# Note: We use uvicorn (ASGI interface) to run the Flask app via ASGI handler
|
| 30 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 22 |
# Copy the rest of the application files
|
| 23 |
COPY . .
|
| 24 |
|
| 25 |
+
# Expose port (HF Spaces use 7860 by default – flask here uses 7860)
|
| 26 |
+
EXPOSE 7860
|
| 27 |
|
| 28 |
# Start the server
|
| 29 |
# Note: We use uvicorn (ASGI interface) to run the Flask app via ASGI handler
|
| 30 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|