Docker 容器日志时间改为东八区

This commit is contained in:
2026-07-04 12:26:53 +08:00
parent 2a8acd7362
commit 1bea3c0538
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -12,6 +12,8 @@ RUN npm run build
# 使用 nginx 提供静态资源
FROM nginx:1.29.0-alpine
RUN apk add --no-cache tzdata
ENV TZ=Asia/Shanghai
COPY --from=builder /build/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80