.PHONY: all build clean APP_NAME = myapp OUT_DIR = ./dist all: build # Builds both binaries inside Docker and exports them locally build: @mkdir -p $(OUT_DIR) DOCKER_BUILDKIT=1 docker build --target bin --output type=local,dest=$(OUT_DIR) . @echo "Build complete! Binaries located in $(OUT_DIR)" clean: rm -rf $(OUT_DIR)