Skip to content

Commit

Permalink
Fix: set rails envvars to docker container
Browse files Browse the repository at this point in the history
Adds the RAILS_LOG_TO_STDOUT and RAILS_SERVE_STATIC_FILES
environment variables that are now needed inside the Docker
images.
  • Loading branch information
ysbaddaden authored Feb 8, 2023
1 parent fd33bda commit f879532
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit f879532

Please sign in to comment.