fix: use subshell to avoid hadolint DL3003 warning
PR Checks / hadolint (pull_request) Failing after 6s
PR Checks / build-test (pull_request) Failing after 2m39s

This commit is contained in:
Hermes Agent
2026-07-13 23:19:18 +00:00
parent 6ccd634cd9
commit 25ce5423ed
+1 -1
View File
@@ -13,7 +13,7 @@ RUN apt-get update && \
useradd -m -u 1000 -g 1000 -s /usr/bin/bash opencode; \
npm update -g --no-fund --no-audit && \
npm install -g --no-fund --no-audit --allow-scripts=opencode-ai,better-sqlite3 opencode-ai@1.17.18 n2-soul@9.0.9 && \
cd /usr/local/lib/node_modules/n2-soul && npm install --no-fund --no-audit --no-save better-sqlite3@12.11.1 && cd / && \
(cd /usr/local/lib/node_modules/n2-soul && npm install --no-fund --no-audit --no-save better-sqlite3@12.11.1) && \
npm cache clean --force && \
chown -R 1000:1000 /usr/local/lib/node_modules/n2-soul/