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
Some checks failed
Build and Deploy Thoughts / build-and-deploy-local (push) Failing after 4s
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user