mirror of
https://gitlab.com/Zer0interrupt/recipe-manager.git
synced 2026-11-01 23:24:11 -05:00
Exclude node_modules and data from Docker build context
Prevents host-built native modules (better-sqlite3) from overwriting the image's Linux build and keeps the live database/backups out of image layers.
This commit is contained in:
parent
454f676499
commit
eb1bae3b06
1 changed files with 8 additions and 0 deletions
|
|
@ -1,2 +1,10 @@
|
|||
# Keep the standalone observability stack (and its data) out of the app image
|
||||
observability/
|
||||
|
||||
# Host-installed dependencies: the image installs its own Linux/musl build via
|
||||
# `npm ci` (native modules like better-sqlite3 are OS-specific)
|
||||
node_modules/
|
||||
npm-debug.log
|
||||
|
||||
# Live database and backups: provided at runtime via the ./data volume mount
|
||||
data/
|
||||
|
|
|
|||
Loading…
Reference in a new issue