mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
build: Replace pm2 with Supervisor
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user