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:
1 parent
355dbb0024
commit
8d8aed7b87
5 files changed
+48
-10
No files matched your search
@@ -2,6 +2,14 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 1.22.1 - 2026-10-01
|
||||
|
||||
Changes since 1.22.0:
|
||||
|
||||
### Changed
|
||||
|
||||
- The Docker image is about 20% smaller (1.09 GB → 876 MB on disk, 251 MB → 220 MB compressed). Production dependencies and Chromium are installed in a separate stage that drops files nothing loads at runtime (source maps, TypeScript sources and declarations, docs, TypeORM's browser build, better-sqlite3's C sources, Playwright's ffmpeg). The runtime image is `debian:bookworm-slim` with only the `node` binary, so it no longer contains `npm`, `npx`, `yarn` or `corepack`.
|
||||
|
||||
## 1.22.0 - 2026-10-01
|
||||
|
||||
Changes since 1.21.1:
|
||||
|
||||
Reference in new issue
Block a user