Spaces:
Sleeping
Sleeping
Enhance logging to debug database loading issue
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -25,5 +25,5 @@ ENV HOME=/home/user \
|
|
25 |
# Expose port
|
26 |
EXPOSE 7860
|
27 |
|
28 |
-
# Command to run the app with debug logging
|
29 |
-
CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port 7860 --log-level debug --log-config log_config.json"]
|
|
|
25 |
# Expose port
|
26 |
EXPOSE 7860
|
27 |
|
28 |
+
# Command to run the app with enhanced debug logging
|
29 |
+
CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port 7860 --log-level debug --log-config log_config.json --access-log --access-log-format '%(asctime)s - %(request_line)s - %(status_code)s'"]
|