diff --git a/Dockerfile.runtime b/Dockerfile.runtime index ac3f610..60d9719 100644 --- a/Dockerfile.runtime +++ b/Dockerfile.runtime @@ -8,6 +8,7 @@ RUN apt-get update && apt-get install -y \ libopenjp2-7 \ libxcb1 \ supervisor \ + vim \ && rm -rf /var/lib/apt/lists/* WORKDIR /app diff --git a/supervisor.conf b/supervisor.conf index 3899821..25baf48 100644 --- a/supervisor.conf +++ b/supervisor.conf @@ -19,6 +19,5 @@ autostart=true autorestart=true startretries=99999 startsecs=60 -stderr_logfile=/app/xiaomusic.log.txt -stdout_logfile=/app/xiaomusic.log.txt - +stderr_logfile=AUTO ; 将错误日志输出到 supervisord 控制台 +stdout_logfile=AUTO ; 将标准日志输出到 supervisord 控制台