diff --git a/Dockerfile b/Dockerfile index 53052de..e37da66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ ENV HOME=/home/app USER app ENV RAILS_ENV=production - +RUN bundle exec rake assets:precompile COPY --chown=app:app Gemfile Gemfile.lock $HOME/wedding/ WORKDIR $HOME/wedding RUN bundle @@ -21,4 +21,3 @@ RUN bundle CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"] COPY --chown=app:app . $HOME/wedding/ -RUN bundle exec rake assets:precompile \ No newline at end of file