Redirect log/production.log to /dev/stdout in Docker setup

This commit is contained in:
Patrick Gansterer 2017-08-08 23:17:04 +02:00
parent 5bc9becf9a
commit 3010dd2d90

View file

@ -17,6 +17,8 @@ RUN buildDeps='libmagic-dev' && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
bundle install --deployment --without development test && \ bundle install --deployment --without development test && \
apt-get purge -y --auto-remove $buildDeps && \ apt-get purge -y --auto-remove $buildDeps && \
mkdir -p log && \
ln -sfn /dev/stdout log/production.log && \
whenever --update-crontab whenever --update-crontab
# Add a temporary mysql-server for assets precompilation # Add a temporary mysql-server for assets precompilation