fix(manacore/web): add sync server URL build arg to Dockerfile

Production build was falling back to localhost:3050 for mana-sync because
PUBLIC_SYNC_SERVER_URL was not set as a build-time ARG. Vite bakes
import.meta.env vars at build time, so the runtime docker-compose
environment section alone is insufficient.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-01 10:56:17 +02:00
parent aa645c28fd
commit d097a9d8f0
2 changed files with 4 additions and 0 deletions

View file

@ -845,6 +845,8 @@ services:
build:
context: .
dockerfile: apps/manacore/apps/web/Dockerfile
args:
PUBLIC_SYNC_SERVER_URL: wss://sync.mana.how
image: manacore-web:local
container_name: mana-app-web
restart: always