We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e6739 commit 22ad752Copy full SHA for 22ad752
Dockerfile
@@ -50,7 +50,11 @@ RUN pnpm build
50
# Force pnpm for UI build (Bun may fail on ARM/Synology architectures)
51
ENV OPENCLAW_PREFER_PNPM=1
52
RUN pnpm ui:build
53
-RUN npm link
+
54
+# Expose the CLI binary without requiring npm global writes as non-root.
55
+USER root
56
+RUN ln -sf /app/openclaw.mjs /usr/local/bin/openclaw \
57
+ && chmod 755 /app/openclaw.mjs
58
59
ENV NODE_ENV=production
60
0 commit comments