@ -10,10 +10,14 @@ RUN apt-get update -qq && \
|
||||
ENV HOME=/home/app
|
||||
USER app
|
||||
|
||||
ENV RAILS_ENV=production
|
||||
|
||||
COPY --chown=app:app Gemfile Gemfile.lock $HOME/wedding/
|
||||
WORKDIR $HOME/wedding
|
||||
RUN bundle
|
||||
|
||||
|
||||
|
||||
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
|
||||
|
||||
COPY --chown=app:app . $HOME/wedding/
|
||||
|
Reference in New Issue
Block a user