From 13a06b71d1d77a06fd2b1480733864a4296d2c86 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Mon, 8 Sep 2025 22:09:33 -0700 Subject: [PATCH] feat: update Docker build to support amd64 and arm64, use --push --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5a30535..1dfa691 100644 --- a/Makefile +++ b/Makefile @@ -71,10 +71,10 @@ test-watch: ## Run unit tests in watch mode docker-build: ## Build Docker image for local development @echo "Building Docker image for $(APP_NAME): $(DOCKER_IMAGE)" - @docker buildx build --platform linux/amd64 \ + @docker buildx build --platform linux/amd64,linux/arm64 \ --build-arg NODE_ENV=production \ --build-arg APP_NAME=$(APP_NAME) \ - -t $(DOCKER_IMAGE) --load . + -t $(DOCKER_IMAGE) --push . docker-run: ## Build and run Docker container @echo "Building and running $(APP_NAME) container: $(DOCKER_IMAGE)"