1u commited on
Commit
fef2a52
·
verified ·
1 Parent(s): 2004c44

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -11,6 +11,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends python3 python3
11
  rm -rf /var/lib/apt/lists/*
12
 
13
  COPY sync_data.py /app/sync_data.py
 
 
14
 
15
  # Install OpenClaw globally
16
  RUN npm install -g openclaw@latest
@@ -99,6 +101,6 @@ EOF
99
 
100
  RUN chmod +x /usr/local/bin/start-openclaw
101
 
102
- ENTRYPOINT ["python", "/app/sync_data.py"]
103
 
104
  CMD ["/usr/local/bin/start-openclaw"]
 
11
  rm -rf /var/lib/apt/lists/*
12
 
13
  COPY sync_data.py /app/sync_data.py
14
+ COPY entrypoint.sh /app/entrypoint.sh
15
+ RUN chmod +x /app/entrypoint.sh
16
 
17
  # Install OpenClaw globally
18
  RUN npm install -g openclaw@latest
 
101
 
102
  RUN chmod +x /usr/local/bin/start-openclaw
103
 
104
+ ENTRYPOINT ["/app/entrypoint.sh"]
105
 
106
  CMD ["/usr/local/bin/start-openclaw"]