Claude Code commited on
Commit
62e5f50
·
1 Parent(s): 12ef956

Claude Code: fix Dockerfile - create logs dir instead of copying non-existent file

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -13,10 +13,9 @@ RUN pip install --no-cache-dir -r requirements.txt
13
 
14
  COPY app.py .
15
  COPY openclaw.json .
16
- COPY logs/build.log /app/logs/build.log
17
 
18
- # Update build log with build timestamp
19
- RUN echo "Docker build completed at $(date -Iseconds)" >> /app/logs/build.log
20
 
21
  ENV PORT=7860
22
  EXPOSE 7860
 
13
 
14
  COPY app.py .
15
  COPY openclaw.json .
 
16
 
17
+ # Create logs directory and initialize build log
18
+ RUN mkdir -p /app/logs && echo "Docker build completed at $(date -Iseconds)" >> /app/logs/build.log
19
 
20
  ENV PORT=7860
21
  EXPOSE 7860