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:
1 parent
8935783371
commit
a4bfa3117f
18 files changed
+343
-104
No files matched your search
+2
-10
@@ -1,9 +1,9 @@
|
||||
services:
|
||||
server:
|
||||
liqa:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: server/Dockerfile
|
||||
ports:
|
||||
# UI, REST API (/api/v1), MCP (/mcp) and Swagger (/docs)
|
||||
- "13000:3000"
|
||||
env_file:
|
||||
- .env
|
||||
@@ -13,11 +13,3 @@ services:
|
||||
# mount key files into the container
|
||||
- ./keys:/app/keys
|
||||
restart: unless-stopped
|
||||
|
||||
client:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: client/Dockerfile
|
||||
ports:
|
||||
- "13001:80"
|
||||
restart: unless-stopped
|
||||
Reference in new issue
Block a user