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,6 @@
|
||||
1:"$Sreact.fragment"
|
||||
3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/14-blkg1qzgwa.js"],"OutletBoundary"]
|
||||
4:"$Sreact.suspense"
|
||||
0:{"rsc":["$","$1","c",{"children":["$L2",null,["$","$L3",null,{"children":["$","$4",null,{"name":"Next.MetadataOutlet","children":"$@5"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"VkXP3ZSqJcnzcJArhJHd2"}
|
||||
5:null
|
||||
2:E{"digest":"NEXT_REDIRECT;replace;/doormile-wings;308;"}
|
||||
Reference in New Issue
Block a user