8900 commited on
Commit
fb74854
·
verified ·
1 Parent(s): 36aa07f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -5
Dockerfile CHANGED
@@ -3,14 +3,19 @@ FROM ghcr.io/openclaw/openclaw:latest
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
- COPY hf-sync.sh /app/hf-sync.sh
 
8
 
9
- RUN chmod +x /app/entrypoint.sh /app/hf-sync.sh && \
 
 
10
  mkdir -p /home/user && \
11
  chown -R node:node /home/user && \
12
- chown node:node /app/entrypoint.sh /app/hf-sync.sh && \
13
- chown node:node /app/spaces/huggingface/setup-hf-config.mjs
 
 
14
 
15
  USER node
16
 
 
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
+ COPY hf-sync.sh /app/hf-sync.sh
8
+ COPY security-check.sh /app/security-check.sh
9
 
10
+ RUN chmod +x /app/entrypoint.sh \
11
+ /app/hf-sync.sh \
12
+ /app/security-check.sh && \
13
  mkdir -p /home/user && \
14
  chown -R node:node /home/user && \
15
+ chown node:node /app/entrypoint.sh \
16
+ /app/hf-sync.sh \
17
+ /app/security-check.sh \
18
+ /app/spaces/huggingface/setup-hf-config.mjs
19
 
20
  USER node
21