build: Replace pm2 with Supervisor

This commit is contained in:
junjun
2026-09-15 16:06:46 +08:00
committed by Junjun
parent 0b5588b5bf
commit 1d7b78d4a6
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -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
+1
View File
@@ -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 \