feat: specify build targets for backend and frontend in Docker Compose
Some checks failed
Build and Deploy Thoughts / build-and-deploy-local (push) Failing after 4s

This commit is contained in:
2025-09-09 01:12:11 +02:00
parent 5bc4337447
commit aa4be7e05b

View File

@@ -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