anydrop/.dockerignore
ordinarthur ef2725aebf
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m21s
fix(build): stop committing tsbuildinfo, wipe before tsc on docker
Root cause of the CI "Cannot find module @anydrop/shared" error:
server/tsconfig.tsbuildinfo and shared/tsconfig.tsbuildinfo were checked in.
On the Gitea runner, tsc read those files, concluded the prior (local-machine)
build was still valid, and skipped emitting shared/dist — so there was nothing
to resolve by the time server's tsc ran.

- untrack the two .tsbuildinfo files
- gitignore *.tsbuildinfo
- dockerignore **/dist, **/*.tsbuildinfo (belt-and-suspenders)
- in both Dockerfiles, delete any stray tsbuildinfo + dist dirs before tsc
2026-04-20 10:11:00 +02:00

12 lines
99 B
Plaintext

node_modules
**/node_modules
.git
dist
**/dist
*.tsbuildinfo
**/*.tsbuildinfo
docs
*.md
.gitea
k8s