This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| # --- CONFIGURATION --- | |
| # Use the bridge volume we set up in docker-compose.yml | |
| TARGET_DIR="/deploy" | |
| if [ -d "$TARGET_DIR" ]; then | |
| cd "$TARGET_DIR" | |
| info "Using shared volume path: $TARGET_DIR" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| # 1. Path Management: Ensure we are working in the shared volume | |
| # This prevents the "directory instead of file" mount error | |
| TARGET_DIR="/deploy" | |
| if [ -d "$TARGET_DIR" ]; then | |
| cd "$TARGET_DIR" | |
| echo "✅ Using shared volume path: $TARGET_DIR" |