From dd569a75a9b82c9465408a000f2d9f5aa67ef712 Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 15 Sep 2026 16:05:42 +0800 Subject: [PATCH] build: Replace pm2 with Supervisor --- Dockerfile | 3 --- Dockerfile-base | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e755edb3..c7fb447f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,9 +67,6 @@ RUN npm install # Runtime stage FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-python-pg:latest -RUN apt-get update && apt-get install -y --no-install-recommends supervisor \ - && rm -rf /var/lib/apt/lists/* - RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ echo "Asia/Shanghai" > /etc/timezone diff --git a/Dockerfile-base b/Dockerfile-base index c78ab7c1b..7a778bd61 100644 --- a/Dockerfile-base +++ b/Dockerfile-base @@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libjpeg-dev \ libgif-dev \ librsvg2-dev \ + supervisor \ && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \ && curl -qL https://www.npmjs.com/install.sh | sh - \ && apt-get install -y nodejs \