@ -11,7 +11,7 @@ ENV HOME=/home/app
|
|||||||
USER app
|
USER app
|
||||||
|
|
||||||
ENV RAILS_ENV=production
|
ENV RAILS_ENV=production
|
||||||
|
RUN bundle exec rake assets:precompile
|
||||||
COPY --chown=app:app Gemfile Gemfile.lock $HOME/wedding/
|
COPY --chown=app:app Gemfile Gemfile.lock $HOME/wedding/
|
||||||
WORKDIR $HOME/wedding
|
WORKDIR $HOME/wedding
|
||||||
RUN bundle
|
RUN bundle
|
||||||
@ -21,4 +21,3 @@ RUN bundle
|
|||||||
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
|
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
|
||||||
|
|
||||||
COPY --chown=app:app . $HOME/wedding/
|
COPY --chown=app:app . $HOME/wedding/
|
||||||
RUN bundle exec rake assets:precompile
|
|
Reference in New Issue
Block a user