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:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
||||
.next/
|
||||
/.next/
|
||||
/node_modules/
|
||||
.DS_Store
|
||||
*.log
|
||||
|
||||
Reference in New Issue
Block a user