From ed987ade1934bada9f8e781421e37ba302546aa7 Mon Sep 17 00:00:00 2001 From: fauno Date: Sat, 6 Apr 2019 18:28:48 -0300 Subject: [PATCH] el container tiene que correr con RAILS_MASTER_KEY --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9efcb9b..1f1fb47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"