feat(docker): serve the whole app from a single container

- serve the built client from the server via serve-static (CLIENT_DIR),
  falling back to index.html outside /api, /mcp, /docs and /health
- replace server and client Dockerfiles and nginx with one root
  Dockerfile and a single liqa compose service on port 13000
- use Playwright's chromium-headless-shell with only its required libs
  and DejaVu/Liberation fonts instead of Debian chromium and Noto
- clear the npm cache in the runtime image
- bump version to 1.19.0
This commit is contained in:
ars9 committed 2026-09-30 20:28:10 +03:00
1 parent 8935783371
commit a4bfa3117f
18 files changed
+343 -104

No files matched your search

+6 -1
View File
@@ -7,7 +7,8 @@ KEYS_DIR=keys
# SQLite database path
DB_PATH=data/sessions.db
# Playwright executable (set in Docker; leave empty to use system default)
# Chromium binary to use instead of Playwright's own (not needed in Docker,
# which ships Playwright's chromium-headless-shell)
# PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium
# Session lifecycle
@@ -19,3 +20,7 @@ SESSION_DELETE_CLOSED_DAYS=7
# Playwright trace recording for scenario runs: on | retain-on-failure | off
# (traces often reach ~10 MB per run; can be overridden per run in the run modal)
PLAYWRIGHT_TRACE_MODE=off
# Directory with the built client to serve at / (set to "client" in the Docker image;
# leave empty to not serve the UI, e.g. when using the Vite dev server)
# CLIENT_DIR=