fix: add init target to pre-create output dirs before docker

Docker creates host-side bind-mount directories as root:root.
Pre-creating them with make init (or mise run init) ensures
they exist with the user's ownership before docker compose
touches them. docker-up now depends on init.
This commit is contained in:
2026-06-21 22:29:55 -07:00
parent 15979d01b5
commit 04d2bec114
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -1,6 +1,5 @@
BIN := fetch
IMAGE := akai-fetch
REMOTE := dhg.lol
ELECTRON_DIR := electron
build:
@@ -17,7 +16,10 @@ docker:
docker-run:
docker run --rm -v "$(PWD)/output:/data" $(IMAGE) $(ARGS)
docker-up:
init:
mkdir -p output/isos output/wavs
docker-up: init
docker compose up --build
docker-down: