From f8795326e8e5a02a63de7592ae54d2c38b7ee734 Mon Sep 17 00:00:00 2001 From: Julien Portalier Date: Wed, 8 Feb 2023 16:36:57 +0100 Subject: [PATCH] Fix: set rails envvars to docker container Adds the RAILS_LOG_TO_STDOUT and RAILS_SERVE_STATIC_FILES environment variables that are now needed inside the Docker images. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 063122a84..8dab39eb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,8 @@ ENV BUNDLE_GEMFILE=${gemfile} ENV PUMA_OPTIONS "--preload -w 4 -p 3000" ENV NNDD_VERSION "cdx-0.11-pre7" ENV RAILS_ENV=production +ENV RAILS_LOG_TO_STDOUT=true +ENV RAILS_SERVE_STATIC_FILES=true # Install gem bundle COPY Gemfile* cdx.gemspec cdx-api-elasticsearch.gemspec /app/