fix: patch server-ui entrypoint to fix sed ordering bug
All checks were successful
CI / build (push) Successful in 1m19s
CI / docker (push) Successful in 9s

The server-ui's entrypoint inserts <base href> THEN rewrites all
href="/" — including the just-inserted base tag, causing doubling.
Patched entrypoint rewrites asset paths first, then inserts <base>.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-05 23:53:03 +02:00
parent 4c6625efaa
commit 5981a3db71
2 changed files with 23 additions and 0 deletions

View File

@@ -192,9 +192,12 @@ services:
cameleer3-server-ui:
image: ${CAMELEER3_SERVER_UI_IMAGE:-gitea.siegeln.net/cameleer/cameleer3-server-ui}:${VERSION:-latest}
restart: unless-stopped
entrypoint: ["/bin/sh", "/cameleer-entrypoint-patched.sh"]
depends_on:
cameleer3-server:
condition: service_healthy
volumes:
- ./docker/server-ui-entrypoint.sh:/cameleer-entrypoint-patched.sh:ro
environment:
CAMELEER_API_URL: http://cameleer3-server:8081
BASE_PATH: /server