Repository navigation
Commit a654da6
committed
Use node:24-slim in Dockerfile to match verified runtime, add engines field
Both build and production stages pinned to node:22-slim, but node:sqlite's
unflagging landed in a later 22.x patch (nodejs/node#55890) and Docker
couldn't be verified locally (blocked by a BIOS setting). Switch to
node:24-slim to match the Node version this project was actually developed
and tested against, removing any uncertainty about which 22.x patch is safe.
Also add engines.node >=22.5 to backend/package.json so an unsupported local
Node version fails fast with a clear message instead of a confusing
node:sqlite import error.1 parent 228fdf0 commit a654da6
2 files changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
0 commit comments