Skip to content

Commit

Permalink
Merge pull request #5938 from avalonmediasystem/develop
Browse files Browse the repository at this point in the history
Fix docker build for asset precompilation
  • Loading branch information
cjcolvar authored Jul 15, 2024
2 parents cd41f74 + 8beba40 commit a68c2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ COPY --from=node-modules --chown=app:app /node_modules ./node_modules
USER app
ENV RAILS_ENV=production

RUN SECRET_KEY_BASE=$(ruby -r 'securerandom' -e 'puts SecureRandom.hex(64)') bundle exec rake assets:precompile
RUN SECRET_KEY_BASE=$(ruby -r 'securerandom' -e 'puts SecureRandom.hex(64)') SHAKAPACKER_ASSET_HOST='' bundle exec rake assets:precompile
RUN cp config/controlled_vocabulary.yml.example config/controlled_vocabulary.yml


Expand Down

0 comments on commit a68c2a4

Please sign in to comment.