Commit 92ea96f
Fix Docker build by adding SECRET_KEY_BASE to react_on_rails:locale task
The previous commit removed the ENV SECRET_KEY_BASE but the
react_on_rails:locale task still requires it to initialize Rails.
The SECRET_KEY_BASE is now set inline for both the locale task and
asset precompilation, ensuring it's only used during build and not
persisted in the final image.
This fixes the deployment error:
ArgumentError: Missing `secret_key_base` for 'production' environment
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 66736f9 commit 92ea96f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments