build(docker): slim down the runtime image

- install production dependencies and chromium in a separate stage
- drop source maps, typescript sources and declarations, docs,
  typeorm's browser build, better-sqlite3's c sources and ffmpeg
- base the runtime on debian:bookworm-slim with only the node binary
- document the image layout
- bump version to 1.22.1
This commit is contained in:
Andrii Arsenin committed 2026-10-01 10:52:47 +03:00
1 parent 355dbb0024
commit 8d8aed7b87
5 files changed
+48 -10

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "liqa",
"version": "1.22.0",
"version": "1.22.1",
"private": true,
"engines": {
"node": ">=24"