fix log to stdout

This commit is contained in:
xiaomlove
2025-04-29 01:52:43 +07:00
parent 404357945e
commit cc89e8aa59
3 changed files with 4 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ RUN echo "error_log = /dev/stderr" >> /usr/local/etc/php/conf.d/error-logging.in
# 安装 Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
ENV LOG_CHANNEL=stderr
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh