mirror of
https://github.com/System-End/highway.git
synced 2026-04-19 20:55:14 +00:00
Attempt to use fake secret key base for asset precompile
This commit is contained in:
parent
6dda3f4f52
commit
89c00bdff8
1 changed files with 1 additions and 4 deletions
|
|
@ -46,10 +46,7 @@ COPY . .
|
|||
RUN bundle exec bootsnap precompile app/ lib/
|
||||
|
||||
# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
|
||||
RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
|
||||
|
||||
|
||||
|
||||
RUN SECRET_KEY_BASE=dummy_secret_key_base_for_precompilation ./bin/rails assets:precompile
|
||||
|
||||
# Final stage for app image
|
||||
FROM base
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue