fix: move run-multi-gateways.sh into build context, bake into image #50
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/multi-gateway-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
run-multi-gateways.shfrom repo root toai/hermes/(inside the Docker build context)/usr/local/bin/run-multi-gateways.shso it's available at container startup without relying on a manually-placed root-owned copy on the persistent volume/usr/local/bin/run-multi-gateways.shinstead of the old/opt/data/hermes-tools/pathWhy
The previous setup placed
run-multi-gateways.shat the repo root and referenced it from/opt/data/hermes-tools/(a persistent volume path). This caused:./hermes, soCOPY run-multi-gateways.shcouldn't reach it from the repo root/opt/data/hermes-tools/owned by root, with trailing spaces before backslash continuations that broke bash parsing (\vs\$), causingenv: ' ': No such file or directoryChanges
ai/hermes/run-multi-gateways.shai/hermes/DockerfileCOPY --chmod=0755 run-multi-gateways.sh /usr/local/bin/run-multi-gateways.shai/compose.ymlbash /usr/local/bin/run-multi-gateways.sh