[docker] send error logs to stderr

This commit is contained in:
Shish 2024-01-04 12:36:11 +00:00
parent 4de08a7e01
commit 9754e114e2

View file

@ -22,6 +22,7 @@ RUN apt update && \
php${PHP_VERSION}-pgsql php${PHP_VERSION}-mysql php${PHP_VERSION}-sqlite3 php${PHP_VERSION}-curl \ php${PHP_VERSION}-pgsql php${PHP_VERSION}-mysql php${PHP_VERSION}-sqlite3 php${PHP_VERSION}-curl \
curl imagemagick zip unzip unit unit-php gettext && \ curl imagemagick zip unzip unit unit-php gettext && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN ln -sf /dev/stderr /var/log/unit.log
# Install dev packages # Install dev packages
# Things which are only needed during development - Composer has 100MB of # Things which are only needed during development - Composer has 100MB of