mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
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:
parent
aa645c28fd
commit
d097a9d8f0
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue