mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-10-30 22:21:58 +01:00
Tailwind v4 detects sources automatically and reads every file under the project root that is not ignored by git. The app writes repository backups to data/repo-backups by default, and that directory sits inside the project root on source installs such as the Proxmox script. With large git bundles there, the build read them into memory and the process was OOM-killed at the server entrypoints step. Limit the Tailwind source scan to src/, which is the only place the app uses utility classes. This also stops the docs site under www/ from contributing classes to the app stylesheet. Ignore data/ as a whole in git, keeping its README. Verified in an unprivileged LXC with a 2 GiB limit: with a 3 GB file under data/repo-backups the build was killed, and with this change it completes. Every class dropped from the stylesheet came from www/, docs or workflow files, none from src/.
This commit is contained in:
1 parent
1ce97e4d49
commit
73afe9a8ed
2 files changed
+4
-3
No files matched your search
+3
-2
@@ -17,8 +17,9 @@ pnpm-debug.log*
|
||||
.env
|
||||
.env.production
|
||||
|
||||
# database files
|
||||
data/gitea-mirror.db
|
||||
# runtime data (database, repo backups); keep the README
|
||||
data/*
|
||||
!data/README.md
|
||||
|
||||
# macOS-specific files
|
||||
.DS_Store
|
||||
|
||||
Reference in new issue
Block a user