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"