Skip to content

Commit

Permalink
Merge pull request #1271 from alphagov/compile-assets-into-dockerimage
Browse files Browse the repository at this point in the history
Compile assets into the Docker image
  • Loading branch information
adrianclay authored Jan 25, 2018
2 parents 6374b12 + fb44c1a commit cee4f28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ RUN bundle install

ADD . $APP_HOME

RUN RAILS_ENV=production bundle exec rails assets:precompile

CMD bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p $PORT -b '0.0.0.0'"

0 comments on commit cee4f28

Please sign in to comment.