Krishna086 commited on
Commit
6f9c94d
·
verified ·
1 Parent(s): 7d164bd

Enhance logging to debug database loading issue

Browse files
Files changed (1) hide show
  1. 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 and custom log file
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'"]