Files
stack/apps/backend/scripts
Devin AIandmantra 245deb732f fix: db-migrations tsdown config clean:true was wiping server dist
Root cause: build-self-host-migration-script runs tsdown with clean:true and
the same outDir as the main server build. This deletes dist/server.mjs (and
all other server build artifacts) before writing only the migration chunks.

Fix: set clean:false in db-migrations.tsdown.config.ts so it appends to the
existing dist/ without wiping it. Also clean up debug artifacts from
Dockerfile and entrypoint.sh.

Co-Authored-By: mantra <[email protected]>
2026-06-22 18:24:37 +00:00
..