Commit 74cfc83
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 <noreply@anthropic.com>1 parent d64e758 commit 74cfc83
1 file changed
Lines changed: 2 additions & 1 deletion
| 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