fix(docker): apply critical patches from third-party guide
Some checks failed
release server / resolve build metadata (push) Successful in 6s
release server / build fluxer server (push) Failing after 1m31s
release server / create release (push) Has been skipped
release server / release summary (push) Failing after 5s

Based on https://gist.github.com/PaulMColeman/e7ef82e05035b24300d2ea1954527f10

Changes:
- Add ca-certificates for rustup HTTPS downloads
- Install Rust and WASM toolchain for frontend WebAssembly compilation
- Copy config directory needed for FLUXER_CONFIG env var
- Set FLUXER_CONFIG so rspack can derive API endpoints
- Update ENTRYPOINT to target @fluxer/server package specifically
- Fix .dockerignore to allow build scripts and locale files

These fixes address the most critical build issues documented in the
community guide for self-hosting Fluxer.
This commit is contained in:
2026-03-01 11:12:56 -05:00
parent 2f443dc661
commit 3ad2ca08c3
3 changed files with 37 additions and 3 deletions

View File

@@ -38,8 +38,12 @@
**/yarn-debug.log*
**/yarn-error.log*
/fluxer_app/src/data/emojis.json
/fluxer_app/src/locales/*/messages.js
# Don't block locale files - they're needed for the build
#!/fluxer_app/src/locales/*/messages.js
dev
!fluxer_app/dist
!fluxer_app/dist/**
!fluxer_devops/cassandra/migrations
# Allow build scripts and locale files
!**/scripts/
!**/locales/