@rozek/nanoclaw 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/container/Dockerfile +2 -1
- package/package.json +1 -1
package/container/Dockerfile
CHANGED
|
@@ -55,7 +55,8 @@ RUN mkdir -p /workspace/group /workspace/global /workspace/extra /workspace/ipc/
|
|
|
55
55
|
# Container input (prompt, group info) is passed via stdin JSON.
|
|
56
56
|
# Credentials are injected by the host's credential proxy — never passed here.
|
|
57
57
|
# Follow-up messages arrive via IPC files in /workspace/ipc/input/
|
|
58
|
-
|
|
58
|
+
# Uses pre-compiled /app/dist/ (built during image creation) — no runtime tsc needed.
|
|
59
|
+
RUN printf '#!/bin/bash\nset -e\ncat > /tmp/input.json\nnode /app/dist/index.js < /tmp/input.json\n' > /app/entrypoint.sh && chmod +x /app/entrypoint.sh
|
|
59
60
|
|
|
60
61
|
# Set ownership to node user (non-root) for writable directories
|
|
61
62
|
RUN chown -R node:node /workspace && chmod 777 /home/node
|