diff --git a/Hadoop/ZKLT.Hadoop.API/Dockerfile b/Hadoop/ZKLT.Hadoop.API/Dockerfile index a4e2d3d..5851645 100644 --- a/Hadoop/ZKLT.Hadoop.API/Dockerfile +++ b/Hadoop/ZKLT.Hadoop.API/Dockerfile @@ -1,6 +1,7 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" >/etc/timezone USER app WORKDIR /app EXPOSE 8080