fix: stop .gitignore from excluding build/.next (site 502/blank after deploy)
.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.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"29539": {
|
||||
"id": 29539,
|
||||
"files": [
|
||||
"static/chunks/0ckcqe5on274m.js",
|
||||
"static/chunks/04uib0xi8_zof.js",
|
||||
"static/chunks/0e.~6vil2~4uy.js"
|
||||
]
|
||||
},
|
||||
"39184": {
|
||||
"id": 39184,
|
||||
"files": [
|
||||
"static/chunks/15p8tu-h65hwr.js",
|
||||
"static/chunks/0-kxqnmnjtk7l.js",
|
||||
"static/chunks/04uib0xi8_zof.js",
|
||||
"static/chunks/0e.~6vil2~4uy.js"
|
||||
]
|
||||
},
|
||||
"55819": {
|
||||
"id": 55819,
|
||||
"files": [
|
||||
"static/chunks/0yqyiard9rg2e.js",
|
||||
"static/chunks/0d09zs~9jbu5_.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user