From f1ea6afea62d8c49f89c94109e746fb4e8ca3bf5 Mon Sep 17 00:00:00 2001 From: dmartinez Date: Thu, 2 May 2024 14:27:16 -0700 Subject: [PATCH] Add auto-remove for container --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eb73aef..3900d97 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,12 @@ all: build .PHONY: build build: ## Build the static site from the container image @echo "$(INFO) Building the wayfinder static site files" - $(compose) run --build -e CURRENT_UID=${CURRENT_UID} build-wayfinder + $(compose) run --build -e CURRENT_UID=${CURRENT_UID} --rm build-wayfinder @echo "$(SUCCESS) Successfully built!" .PHONY: clean clean: ## Remove build artifacts - rm -f v* + rm -f artifact/v* .PHONY: help help: ## Display this help (default)