From bcb1117d98c40966bff79e1e1cb429d6b0126fb4 Mon Sep 17 00:00:00 2001 From: bunny <1319900154@qq.com> Date: Fri, 19 Jul 2024 10:36:58 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20=E4=BF=AE=E6=94=B9dockerfi?= =?UTF-8?q?le=EF=BC=8C=E5=A2=9E=E5=8A=A0=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/{dockerfile => Dockerfile} | 4 ++++ public/verify.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) rename docker/{dockerfile => Dockerfile} (79%) diff --git a/docker/dockerfile b/docker/Dockerfile similarity index 79% rename from docker/dockerfile rename to docker/Dockerfile index 7e130ef..6e2e99f 100644 --- a/docker/dockerfile +++ b/docker/Dockerfile @@ -7,6 +7,10 @@ RUN rm /etc/nginx/conf.d/default.conf # 将自定义的 Nginx 配置文件复制到容器中 COPY nginx.conf /etc/nginx/conf.d/ +# 设置时区,构建镜像时执行的命令 +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime +RUN echo "Asia/Shanghai" > /etc/timezone + # 创建一个目录来存放前端项目文件 WORKDIR /usr/share/nginx/html diff --git a/public/verify.json b/public/verify.json index 94d2489..f78dfed 100644 --- a/public/verify.json +++ b/public/verify.json @@ -1 +1 @@ -{"version":1721287216728} \ No newline at end of file +{"version":1721356495180} \ No newline at end of file