From dd803785e12a9d6555ded2e78ecc357a3a5a15cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Thu, 26 Dec 2024 09:08:44 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=89=93=E5=8C=85=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile.runtime | 1 + supervisor.conf | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) 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 控制台