diff --git a/Dockerfile b/Dockerfile index 7e755edb..c7fb447f 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 c78ab7c1..7a778bd6 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 \