mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-02 21:03:34 +03:00
# Description of Changes Stirling engine docker slimming Exclude Python virtualenvs from the Docker build context Drop unused provider SDKs from the engine dependency set Retry the SQLite WAL switch when workers race on startup Build the engine image in two stages and run it unprivileged Swap voyage SDK for api call removing 200MB bloat Bundle the AI engine in the fat image Publish the AI engine as a standalone image 886MB to 295MB in docker file And Docker fat is only 230MB bigger after adding (since it already has python and some deps) --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### Translations (if applicable) - [ ] I ran [`scripts/counter_translation.py`](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/docs/counter_translation.md) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have run `task check` to verify linters, typechecks, and tests pass - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#7-testing) for more details.
119 lines
1.5 KiB
Plaintext
119 lines
1.5 KiB
Plaintext
# Version control
|
|
.git/
|
|
.gitignore
|
|
.git-blame-ignore-revs
|
|
.gitattributes
|
|
|
|
# Build outputs
|
|
build/
|
|
*/build/
|
|
**/build/
|
|
out/
|
|
target/
|
|
**/target/
|
|
bin/
|
|
version_builds/
|
|
|
|
# Gradle caches (local, not what's in the container)
|
|
.gradle/
|
|
**/.gradle/
|
|
.gradle-home/
|
|
|
|
# Task (go-task) cache
|
|
.task/
|
|
|
|
# Node / frontend
|
|
node_modules/
|
|
**/node_modules/
|
|
frontend/node_modules/
|
|
frontend/editor/dist/
|
|
frontend/editor/playwright-report/
|
|
.npm/
|
|
.yarn/
|
|
|
|
# Tauri/desktop builds
|
|
src-tauri/target/
|
|
src-tauri/dist/
|
|
frontend/editor/src-tauri/target/
|
|
frontend/editor/src-tauri/dist/
|
|
|
|
# IDE and editor
|
|
.idea/
|
|
.vscode/
|
|
.settings/
|
|
.settings.zip
|
|
.classpath
|
|
.project
|
|
.devcontainer/
|
|
*.iml
|
|
*.ipr
|
|
*.iws
|
|
|
|
# Logs and temp files
|
|
*.log
|
|
*.tmp
|
|
*.pid
|
|
.DS_Store
|
|
Thumbs.db
|
|
logs/
|
|
|
|
# Docker itself
|
|
Dockerfile*
|
|
.dockerignore
|
|
|
|
# CI / CD configs (not needed in build context)
|
|
.github/
|
|
.circleci/
|
|
.gitlab-ci.yml
|
|
|
|
# Test reports
|
|
**/test-results/
|
|
**/jacoco/
|
|
test_*.pdf
|
|
|
|
# Testing and documentation (not needed in build)
|
|
testing/
|
|
docs/
|
|
devGuide/
|
|
devTools/
|
|
*.md
|
|
README*
|
|
|
|
# Separate projects not consumed by the Java/frontend build
|
|
commonforms-onnx/
|
|
|
|
# Runtime mount points used by docker-compose volumes, not build input
|
|
stirling/
|
|
customFiles/
|
|
configs/
|
|
|
|
# Claude Code workspace
|
|
.claude/
|
|
|
|
# Python caches
|
|
.pytest_cache/
|
|
.ruff_cache/
|
|
__pycache__/
|
|
**/__pycache__/
|
|
|
|
# Python virtualenvs. Large, platform-specific, and their symlinks break the build.
|
|
.venv/
|
|
**/.venv/
|
|
venv/
|
|
**/venv/
|
|
*.egg-info/
|
|
**/*.egg-info/
|
|
|
|
# Local env
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
!engine/.env
|
|
|
|
# Misc
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
.cache/
|