el container tiene que correr con RAILS_MASTER_KEY
This commit is contained in:
parent
5d92248af8
commit
ed987ade19
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ COPY --from=build --chown=app:www-data /home/app/web/.bundle ./.bundle
|
||||||
COPY --chown=app:www-data ./docs ./public/docs
|
COPY --chown=app:www-data ./docs ./public/docs
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
ENV RAILS_MASTER_KEY
|
||||||
|
ENV RAILS_ENV production
|
||||||
RUN install -m 640 -o root -g root ./monit.conf /etc/monit.d/puma.conf
|
RUN install -m 640 -o root -g root ./monit.conf /etc/monit.d/puma.conf
|
||||||
RUN monit -t
|
RUN monit -t
|
||||||
VOLUME "/srv/http/data"
|
VOLUME "/srv/http/data"
|
||||||
|
|
Loading…
Reference in a new issue