Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
set RAILS_ASSETS_COMPILE flag
Browse files Browse the repository at this point in the history
  • Loading branch information
abstrctn committed Nov 21, 2016
1 parent 872039a commit b3eb95c
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 @@ -66,7 +66,7 @@ ONBUILD COPY . /usr/src/app

# Run the requirejs optimizer if the badcom gem is included and precompile assets.
ONBUILD RUN \
! gem list -i badcom > /dev/null || RAILS_ENV=production rake badcom:requirejs:optimize_all && \
! gem list -i badcom > /dev/null || RAILS_ENV=production RAILS_ASSETS_COMPILE=true rake badcom:requirejs:optimize_all && \
RAILS_ENV=production rake assets:precompile

# Run the server
Expand Down

0 comments on commit b3eb95c

Please sign in to comment.