refactor: streamline Docker Compose configuration and remove unnecessary build steps
Some checks failed
Build and Deploy Thoughts / build-and-deploy-local (push) Failing after 6s
Some checks failed
Build and Deploy Thoughts / build-and-deploy-local (push) Failing after 6s
This commit is contained in:
@@ -19,10 +19,7 @@ services:
|
||||
|
||||
backend:
|
||||
container_name: thoughts-backend
|
||||
build:
|
||||
context: ./thoughts-backend
|
||||
dockerfile: Dockerfile
|
||||
target: runtime
|
||||
image: thoughts-backend:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- RUST_LOG=info
|
||||
@@ -41,12 +38,7 @@ services:
|
||||
|
||||
frontend:
|
||||
container_name: thoughts-frontend
|
||||
build:
|
||||
context: ./thoughts-frontend
|
||||
dockerfile: Dockerfile
|
||||
target: release
|
||||
args:
|
||||
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL}
|
||||
image: thoughts-frontend:latest
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- backend
|
||||
|
Reference in New Issue
Block a user