Spaces:
No application file
No application file
Commit ·
ac6c904
1
Parent(s): b03eb12
Added changes to Dockerfile
Browse files- DockerFile +2 -2
DockerFile
CHANGED
|
@@ -31,5 +31,5 @@ ENV PORT=7860
|
|
| 31 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
| 32 |
CMD curl -f http://localhost:${PORT}/health || exit 1
|
| 33 |
|
| 34 |
-
# Run the application
|
| 35 |
-
CMD uvicorn app.main:app --host 0.0.0.0 --port ${PORT}
|
|
|
|
| 31 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
| 32 |
CMD curl -f http://localhost:${PORT}/health || exit 1
|
| 33 |
|
| 34 |
+
# Run the application - FIXED with --app-dir
|
| 35 |
+
CMD uvicorn app.main:app --host 0.0.0.0 --port ${PORT} --app-dir /app
|