.gitignore's ".next/" rule (no leading slash) matched at any depth, so build/.next was silently excluded from every commit even though build.sh populates it. The Docker image was built without the compiled server/static output, so server.js had nothing to serve. Anchor the rule to the repo root and commit the compiled output that Dokploy actually needs.
16 lines
335 B
Plaintext
16 lines
335 B
Plaintext
{
|
|
"status": 404,
|
|
"headers": {
|
|
"x-nextjs-stale-time": "300",
|
|
"x-nextjs-prerender": "1",
|
|
"x-next-cache-tags": "_N_T_/layout,_N_T_/_not-found/layout,_N_T_/_not-found/page,_N_T_/_not-found"
|
|
},
|
|
"segmentPaths": [
|
|
"/_tree",
|
|
"/_full",
|
|
"/_not-found/__PAGE__",
|
|
"/_not-found",
|
|
"/_index",
|
|
"/_head"
|
|
]
|
|
} |