fix: use root build context in docker-compose.prod.yml

Dockerfiles reference monorepo subdirectories (frontend/, backend/)
but the prod compose specified ./frontend and ./backend as build
contexts. The containers were running because they were built from
docker-compose.yml (dev) which already had root context. Rebuilds
with --build were broken.
This commit is contained in:
2026-04-30 15:01:52 -04:00
parent 3377b1e751
commit 4c0a5d32f4
+4 -4
View File
@@ -66,8 +66,8 @@ services:
# ========================================== # ==========================================
backend: backend:
build: build:
context: ./backend context: .
dockerfile: Dockerfile dockerfile: ./backend/Dockerfile
container_name: coop-backend container_name: coop-backend
environment: environment:
- NODE_ENV=production - NODE_ENV=production
@@ -126,8 +126,8 @@ services:
# ========================================== # ==========================================
frontend: frontend:
build: build:
context: ./frontend context: .
dockerfile: Dockerfile dockerfile: ./frontend/Dockerfile
args: args:
- NEXT_PUBLIC_API_URL=https://coop.hobokenchicken.com - NEXT_PUBLIC_API_URL=https://coop.hobokenchicken.com
- NEXT_PUBLIC_SOLANA_NETWORK=devnet - NEXT_PUBLIC_SOLANA_NETWORK=devnet