The **/build pattern was blocking the scripts/build/ directory
which contains critical rspack build scripts like lingui.mjs.
Explicitly allowing this directory to be included.
Fixed .dockerignore syntax - was using '#!' instead of proper negation.
Now explicitly allowing fluxer_app/src/data/** and fluxer_app/src/locales/**
with proper negation syntax.
The .dockerignore was blocking critical files needed for frontend build:
- fluxer_app/src/data/emojis.json
- fluxer_app/src/locales/*/messages.*
These files must be included for the app build to succeed.
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.