Commit 6ba48b8
committed
docs(og): record why process.cwd() is the app dir in the container
Review flagged the font path as invalid in the standalone image, reasoning
that the container starts at the monorepo root. It does -- but Next's generated
standalone server.js opens with process.chdir(__dirname), and that file ships
beside public/. Same reason content/ is read this way at runtime.1 parent 1d4282a commit 6ba48b8
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| |||
0 commit comments