diff --git a/Makefile b/Makefile index 52e74e9..b581581 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,9 @@ setup: test: docker compose run --no-deps --rm edge-node pytest -v -# Build all images locally and start. +# Build all images locally and start (dev mode with local code mounted). up: - docker compose up -d + docker compose up -d --build # Pull pre-built images from the registry and start (no local build). # Requires IMAGE_REGISTRY, DOCKER_ORG, DOCKER_REPO set in .env. @@ -21,6 +21,12 @@ up-prebuilt: pull: docker compose pull +# Helper to pull the latest git commits and rebuild/restart the dev stack. +update-git: + git pull + docker compose build + docker compose up -d + down: docker compose down