@ -10,8 +10,6 @@ RUN apt-get update -qq && \
|
|||||||
ENV HOME=/home/app
|
ENV HOME=/home/app
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
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
|
||||||
|
@ -11,7 +11,6 @@ services:
|
|||||||
web:
|
web:
|
||||||
environment:
|
environment:
|
||||||
SECRET_KEY_BASE: "b0d9de4a4e2d8568b"
|
SECRET_KEY_BASE: "b0d9de4a4e2d8568b"
|
||||||
RAILS_ENV: production
|
|
||||||
CANONICAL_URL: beere5:3033, wedding.linepe.de
|
CANONICAL_URL: beere5:3033, wedding.linepe.de
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
|
Reference in New Issue
Block a user