fix: set HOME=/home/node in openclaw image to prevent /.openclaw mkdir errors
Some checks failed
CI / check (push) Failing after 1m58s
CI / build-and-cache (push) Has been skipped
CI / Build & Push OpenClaw Image (push) Has been skipped
CI / Deploy OpenClaw to Cluster (push) Has been skipped

This commit is contained in:
2026-04-19 21:08:18 -07:00
parent e3348e3319
commit 2036181a04

View File

@@ -235,6 +235,9 @@ pkgs.dockerTools.buildLayeredImage {
# PATH: standard dirs + Nix store bin dirs are appended by buildLayeredImage
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
"NODE_ENV=production"
# Home directory (Docker User directive doesn't set HOME from /etc/passwd)
"HOME=/home/node"
];
};
}