fix: deploy.sh exports docker PATH, link to /usr/bin

This commit is contained in:
admin 2026-08-03 15:27:23 +00:00
parent d1c3f69f99
commit 84612e4c7e
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
#!/bin/bash
# Wallarm Node Manager — wrapper
export PATH="/opt/fw/docker/bin:$PATH"
/usr/bin/env python3 /opt/fw/app/main.py "$@"

View file

@ -60,7 +60,7 @@ if ! command -v docker >/dev/null 2>&1; then
tar -xzf "${OFFLINE_DIR}/docker-29.2.1.tgz" -C "${DOCKER_DIR}/bin/"
else
curl -fsSL "${DOCKER_URL}" -o /tmp/docker.tgz 2>/dev/null && \
tar -xzf /tmp/docker.tgz -C "${DOCKER_DIR}/bin/" && \
tar --strip-components=1 -xzf /tmp/docker.tgz -C "${DOCKER_DIR}/bin/" && \
rm -f /tmp/docker.tgz
fi