Spaces:
Sleeping
Sleeping
Up
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -34,7 +34,7 @@ RUN chmod -R 777 /app
|
|
34 |
USER appuser
|
35 |
|
36 |
# Expose port 5000 cho FastAPI
|
37 |
-
EXPOSE
|
38 |
|
39 |
# Chạy ứng dụng FastAPI bằng Uvicorn
|
40 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "
|
|
|
34 |
USER appuser
|
35 |
|
36 |
# Expose port 5000 cho FastAPI
|
37 |
+
EXPOSE 7860
|
38 |
|
39 |
# Chạy ứng dụng FastAPI bằng Uvicorn
|
40 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|