Bug: Disable logging to file on asset precompile (#637)

This commit is contained in:
Pranav Raj S
2020-03-22 20:38:49 +05:30
committed by GitHub
parent 1c4566df66
commit a94f14ca22
6 changed files with 363 additions and 185 deletions

View File

@@ -47,7 +47,7 @@ COPY . /app
# generate production assets if production environment
RUN if [ "$RAILS_ENV" = "production" ]; then \
SECRET_KEY_BASE=precompile_placeholder bundle exec rake assets:precompile; \
SECRET_KEY_BASE=precompile_placeholder RAILS_LOG_TO_STDOUT=enabled bundle exec rake assets:precompile; \
fi
# final build stage