Redirect log/production.log to /dev/stdout in Docker setup
This commit is contained in:
parent
5bc9becf9a
commit
3010dd2d90
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue