chore: update Docker build and dependencies
- Add .dockerignore for runtime state files (sqlite, logs, secrets) - Bump Node.js base image from 18 to 20 - Add @types/better-sqlite3 dev dependency Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bc63d30af6
commit
f761196898
4 changed files with 1100 additions and 1849 deletions
|
|
@ -2,3 +2,21 @@
|
||||||
.github
|
.github
|
||||||
build
|
build
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
|
# Runtime state files (should not be baked into image)
|
||||||
|
*.sqlite
|
||||||
|
*.sqlite-journal
|
||||||
|
*.sqlite-wal
|
||||||
|
*.sqlite-shm
|
||||||
|
*.db
|
||||||
|
admin.connect
|
||||||
|
admin.enroll
|
||||||
|
admin.npub
|
||||||
|
app.nprofile
|
||||||
|
.jwt_secret
|
||||||
|
|
||||||
|
# Runtime data directories
|
||||||
|
metric_cache/
|
||||||
|
metric_events/
|
||||||
|
bundler_events/
|
||||||
|
logs/
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:18
|
FROM node:20
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
||||||
2926
package-lock.json
generated
2926
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -77,6 +77,7 @@
|
||||||
"zip-a-folder": "^3.1.9"
|
"zip-a-folder": "^3.1.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@types/better-sqlite3": "^7.6.13",
|
||||||
"@types/chai": "^4.3.4",
|
"@types/chai": "^4.3.4",
|
||||||
"@types/chai-string": "^1.4.5",
|
"@types/chai-string": "^1.4.5",
|
||||||
"@types/cors": "^2.8.17",
|
"@types/cors": "^2.8.17",
|
||||||
|
|
@ -93,4 +94,4 @@
|
||||||
"typescript": "5.5.4"
|
"typescript": "5.5.4"
|
||||||
},
|
},
|
||||||
"overrides": {}
|
"overrides": {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue