jtowarek Claude Sonnet 4.6 commited on
Commit
7b69e77
·
1 Parent(s): 5d2f027

Fix spaces/kant Dockerfile: clear base image ENTRYPOINT

Browse files

openenv-base's ENTRYPOINT was hijacking startup and ignoring our CMD.
Adding ENTRYPOINT [] lets uvicorn actually run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -75,7 +75,9 @@ ENV PYTHONPATH="/app/env:$PYTHONPATH"
75
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
76
  CMD curl -f http://localhost:8000/health || exit 1
77
 
 
 
 
78
  # Run the FastAPI server
79
- # The module path is constructed to work with the /app/env structure
80
  ENV ENABLE_WEB_INTERFACE=true
81
- CMD ["sh", "-c", "cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 8000"]
 
75
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
76
  CMD curl -f http://localhost:8000/health || exit 1
77
 
78
+ # Clear base image ENTRYPOINT so our CMD runs directly
79
+ ENTRYPOINT []
80
+
81
  # Run the FastAPI server
 
82
  ENV ENABLE_WEB_INTERFACE=true
83
+ CMD ["sh", "-c", "echo '===== Application Startup at '$(date '+%Y-%m-%d %H:%M:%S')' =====' && cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 8000"]