mirror of
https://github.com/arjunkomath/openclaw-railway-template.git
synced 2026-08-14 00:48:11 +00:00
Persist homebrew installs
This commit is contained in:
@@ -2,4 +2,12 @@
|
||||
set -e
|
||||
|
||||
chown -R openclaw:openclaw /data
|
||||
|
||||
if [ ! -d /data/.linuxbrew ]; then
|
||||
cp -a /home/linuxbrew/.linuxbrew /data/.linuxbrew
|
||||
fi
|
||||
|
||||
rm -rf /home/linuxbrew/.linuxbrew
|
||||
ln -sfn /data/.linuxbrew /home/linuxbrew/.linuxbrew
|
||||
|
||||
exec gosu openclaw node src/server.js
|
||||
|
||||
Reference in New Issue
Block a user