Skip to content

Commit

Permalink
Adds asset precompile step
Browse files Browse the repository at this point in the history
  • Loading branch information
mrharpo committed Apr 17, 2024
1 parent fd34467 commit 243bbe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ RUN apt-get autoremove -y \

COPY . .

RUN rake jetty:clean && rake jetty:config
RUN rake jetty:clean && rake jetty:config && rake assets:precompile

CMD rake jetty:start && bundle exec rake db:migrate RAILS_ENV=development && bundle exec rails s -b 0.0.0.0
CMD rake jetty:start && bundle exec rake db:migrate RAILS_ENV=production && bundle exec rails s -b 0.0.0.0

0 comments on commit 243bbe0

Please sign in to comment.