From 9e51eea4ed96e0decd77a3eea0f760136237f492 Mon Sep 17 00:00:00 2001 From: SydneyOwl <84191144+SydneyOwl@users.noreply.github.com> Date: Wed, 20 Nov 2024 13:13:25 +0800 Subject: [PATCH] :whale: fix dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c6284b..81d341c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ WORKDIR /source ENV TZ=Asia/Shanghai ARG DEBIAN_FRONTEND=noninteractive COPY . . -RUN ls && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \ apt update -y && \ apt install --yes --no-install-recommends \ @@ -14,6 +14,6 @@ RUN ls && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/tim sed -i 's/@COMMIT_HASH@/DockerVersion/g' Properties/VERSION.cs && \ sed -i 's/@TAG_NAME@/DockerVersion/g' Properties/VERSION.cs && \ sed -i "s/@BUILD_TIME@/$(date)/g" Properties/VERSION.cs && \ - chmod +x entrypoint.sh && mv entrypoint.sh / + chmod +x entrypoint.sh && mv entrypoint.sh USER $APP_UID -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/entrypoint.sh"]