From 0932308ed61145acc61cb88ec269e89c8c29cb29 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Mar 2026 07:55:58 +0000 Subject: [PATCH] Fix make and podman compose to use correct paths when run from repo root make build was looking for Makefile in cwd (repo root) instead of infra/. Use -C "$SCRIPT_DIR" so it always finds infra/Makefile regardless of where the script is invoked from. Add -f flag to podman compose up so it finds infra/docker-compose.yml from any working directory. https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH --- infra/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/start.sh b/infra/start.sh index ebb468e..9eb8a34 100755 --- a/infra/start.sh +++ b/infra/start.sh @@ -100,7 +100,7 @@ if [ ! -S "$PODMAN_SOCK" ]; then fi # ── Build images ─────────────────────────────────────────────────────────────── -make build +make -C "$SCRIPT_DIR" build # ── Start services (detached) ────────────────────────────────────────────────── -podman compose --env-file "$REPO_ROOT/.env" up -d +podman compose --env-file "$REPO_ROOT/.env" -f "$SCRIPT_DIR/docker-compose.yml" up -d