fix(docker): 优化容器启动、优雅退出和Nginx配置

This commit is contained in:
Aqr-K
2026-03-20 20:28:16 +08:00
parent 6065c29891
commit e68d607c9b
4 changed files with 63 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
wget \
busybox \
dumb-init \
tini \
jq \
fuse3 \
rsync \
@@ -130,4 +130,4 @@ RUN cp -f /app/docker/nginx.common.conf /etc/nginx/common.conf \
EXPOSE 3000
VOLUME [ "${CONFIG_DIR}" ]
ENTRYPOINT [ "/entrypoint.sh" ]
ENTRYPOINT [ "/usr/bin/tini", "-g", "--", "/entrypoint.sh" ]