Skip to content

Instantly share code, notes, and snippets.

View iamdhruv21's full-sized avatar
🎯
Focusing

Dhruv kothari iamdhruv21

🎯
Focusing
  • 03:43 (UTC -12:00)
View GitHub Profile
#!/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
#!/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"