From aa4be7e05bbd2fb34602e047d40706d44c409c5d Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Tue, 9 Sep 2025 01:12:11 +0200 Subject: [PATCH] feat: specify build targets for backend and frontend in Docker Compose --- compose.prod.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose.prod.yml b/compose.prod.yml index c2b17f1..de93439 100644 --- a/compose.prod.yml +++ b/compose.prod.yml @@ -22,6 +22,7 @@ services: build: context: ./thoughts-backend dockerfile: Dockerfile + target: runtime restart: unless-stopped environment: - RUST_LOG=info @@ -43,6 +44,7 @@ services: build: context: ./thoughts-frontend dockerfile: Dockerfile + target: release args: NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL} restart: unless-stopped