Description
The web UI at http://localhost:3000/ shows a blank page in version 0.9.0.
Steps to reproduce
docker run -d -p 3000:3000 public.ecr.aws/primaassicurazioni/localauth0:0.9.0
# Open http://localhost:3000/ → blank page
Root cause
The /web/dist/ directory inside the container is missing the compiled WASM and JS bundle:
/web/dist/
├── assets/
├── index.html ← Trunk template (no <script> tag injected)
├── localauth0-*.png
├── style-*.css
└── sw.js
# ❌ localauth0_web-*.js (missing)
# ❌ localauth0_web-*_bg.wasm (missing)
The index.html served is the raw Trunk template without the WASM initialization <script> tag, so the browser renders an empty page.
Looking at the CD workflow, trunk build --release web/index.html outputs to ./dist/ (per web/Trunk.toml: dist = "../dist/"), but the artifact upload path is ./web/dist — which is a different (empty) directory. The container therefore ships without the WASM bundle.
Workaround
Use version 0.8.3, which works correctly:
docker run -d -p 3000:3000 public.ecr.aws/primaassicurazioni/localauth0:0.8.3
Environment
- Docker image:
public.ecr.aws/primaassicurazioni/localauth0:0.9.0
- Tested on: macOS (Darwin), Docker Desktop
Description
The web UI at
http://localhost:3000/shows a blank page in version 0.9.0.Steps to reproduce
docker run -d -p 3000:3000 public.ecr.aws/primaassicurazioni/localauth0:0.9.0 # Open http://localhost:3000/ → blank pageRoot cause
The
/web/dist/directory inside the container is missing the compiled WASM and JS bundle:The
index.htmlserved is the raw Trunk template without the WASM initialization<script>tag, so the browser renders an empty page.Looking at the CD workflow,
trunk build --release web/index.htmloutputs to./dist/(perweb/Trunk.toml:dist = "../dist/"), but the artifact upload path is./web/dist— which is a different (empty) directory. The container therefore ships without the WASM bundle.Workaround
Use version 0.8.3, which works correctly:
Environment
public.ecr.aws/primaassicurazioni/localauth0:0.9.0