8900 commited on
Update Dockerfile
Browse files- 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
|
| 7 |
-
COPY hf-sync.sh
|
|
|
|
| 8 |
|
| 9 |
-
RUN chmod +x /app/entrypoint.sh
|
|
|
|
|
|
|
| 10 |
mkdir -p /home/user && \
|
| 11 |
chown -R node:node /home/user && \
|
| 12 |
-
chown node:node /app/entrypoint.sh
|
| 13 |
-
|
|
|
|
|
|
|
| 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 |
|