Commit 2d41f48
committed
fix: update Dockerfile for tsdown bundled build
- Use node:22-alpine base image
- Copy tsdown.config.ts in builder stage
- Runner stage only copies dist/ (no node_modules needed)
- Replace yarn start:prod with node dist/server.js1 parent 26461f9 commit 2d41f48
1 file changed
Lines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
20 | | - | |
| 17 | + | |
21 | 18 | | |
22 | | - | |
23 | 19 | | |
24 | | - | |
25 | 20 | | |
26 | 21 | | |
27 | | - | |
28 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
29 | 25 | | |
30 | 26 | | |
31 | | - | |
| 27 | + | |
0 commit comments