|
@@ -205,7 +205,12 @@ ARG TARGETPLATFORM
|
|
|
|
|
|
RUN \
|
|
RUN \
|
|
# Use Ruby on Rails to create Mastodon assets
|
|
# Use Ruby on Rails to create Mastodon assets
|
|
- OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder bundle exec rails assets:precompile; \
|
|
|
|
|
|
+ ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=precompile_placeholder \
|
|
|
|
+ ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=precompile_placeholder \
|
|
|
|
+ ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=precompile_placeholder \
|
|
|
|
+ OTP_SECRET=precompile_placeholder \
|
|
|
|
+ SECRET_KEY_BASE=precompile_placeholder \
|
|
|
|
+ bundle exec rails assets:precompile; \
|
|
# Cleanup temporary files
|
|
# Cleanup temporary files
|
|
rm -fr /opt/mastodon/tmp;
|
|
rm -fr /opt/mastodon/tmp;
|
|
|
|
|