8900 commited on
Commit
1f2269b
·
verified ·
1 Parent(s): 3fb3951

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -2,6 +2,11 @@ FROM ghcr.io/openclaw/openclaw:latest
2
 
3
  USER root
4
 
 
 
 
 
 
5
  COPY setup-hf-config.mjs /app/spaces/huggingface/setup-hf-config.mjs
6
  COPY entrypoint.sh /app/entrypoint.sh
7
 
@@ -15,4 +20,4 @@ USER node
15
 
16
  EXPOSE 7860
17
 
18
- ENTRYPOINT ["/app/entrypoint.sh"]
 
2
 
3
  USER root
4
 
5
+ # --- Added for sync capabilities only ---
6
+ RUN apt-get update && apt-get install -y python3 python3-pip && \
7
+ pip3 install --no-cache-dir huggingface_hub --break-system-packages
8
+ # ----------------------------------------
9
+
10
  COPY setup-hf-config.mjs /app/spaces/huggingface/setup-hf-config.mjs
11
  COPY entrypoint.sh /app/entrypoint.sh
12
 
 
20
 
21
  EXPOSE 7860
22
 
23
+ ENTRYPOINT ["/app/entrypoint.sh"]