Commit b4eded8
committed
fix(docker): install vendored fm_generator in prod image
Without it, POST /generator/random/step1 fails with ModuleNotFoundError
(routes.py imports fm_generator.FMGenerator.models.config). The wizard's
SPA hijack falls back to window.location.href on 5xx, which reloads the
page on every Next click and re-initialises Pyodide. Aligns with
Dockerfile.dev which already installs the vendored package.1 parent 5f40bb4 commit b4eded8
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
0 commit comments