@ -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
|
Reference in New Issue
Block a user