el container tiene que correr con RAILS_MASTER_KEY

This commit is contained in:
fauno 2019-04-06 18:28:48 -03:00
parent 5d92248af8
commit ed987ade19
No known key found for this signature in database
GPG key ID: 456032D717A4CD9C

View file

@ -50,6 +50,8 @@ COPY --from=build --chown=app:www-data /home/app/web/.bundle ./.bundle
COPY --chown=app:www-data ./docs ./public/docs
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 monit -t
VOLUME "/srv/http/data"