Claude Code Claude Opus 4.6 commited on
Commit
158c36b
·
1 Parent(s): 701606d

Claude Code: fix Dockerfile to run app.py instead of main.py

Browse files

The Dockerfile was running the minimal main.py stub instead of the
actual FastAPI application in app.py with health check endpoints.

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

Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -6,10 +6,10 @@ WORKDIR /app
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
- COPY main.py .
10
  COPY openclaw.json .
11
 
12
  ENV PORT=7860
13
  EXPOSE 7860
14
 
15
- CMD ["python", "main.py"]
 
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
+ COPY app.py .
10
  COPY openclaw.json .
11
 
12
  ENV PORT=7860
13
  EXPOSE 7860
14
 
15
+ CMD ["python", "app.py"]