fix: 修复TZ环境变量不生效

This commit is contained in:
roukaixin
2025-07-22 20:46:57 +08:00
parent 2f1e55fa1e
commit 1c761f89e5
+2 -1
View File
@@ -28,6 +28,7 @@ RUN apt-get update -y \
rsync \ rsync \
ffmpeg \ ffmpeg \
nano \ nano \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& \ && \
if [ "$(uname -m)" = "x86_64" ]; \ if [ "$(uname -m)" = "x86_64" ]; \
then ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1; \ then ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1; \
@@ -85,4 +86,4 @@ RUN cp -f /app/docker/nginx.common.conf /etc/nginx/common.conf \
&& rm -rf /tmp/* && rm -rf /tmp/*
EXPOSE 3000 EXPOSE 3000
VOLUME [ "${CONFIG_DIR}" ] VOLUME [ "${CONFIG_DIR}" ]
ENTRYPOINT [ "/entrypoint.sh" ] ENTRYPOINT [ "/entrypoint.sh" ]