diff --git a/Dockerfile b/Dockerfile index 204b6778..ea54839e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,8 @@ RUN mvn clean package -Dmaven.test.skip=true -Ptest # jdk17对应:mcr.microsoft.com/java/jre:17-zulu-alpine FROM mcr.microsoft.com/java/jre:8-zulu-alpine +RUN echo "Asia/Shanghai" > /etc/timezone + ARG PLATFORM=$PLATFORM WORKDIR /workspace @@ -43,4 +45,4 @@ CMD ["java", "-jar", "/workspace/jeepay-app.jar"] # 启动命令 # docker run -d -p 9216:9216 jeepay-payment:latest # docker run -d -p 9217:9217 jeepay-manager:latest -# docker run -d -p 9218:9218 jeepay-merchant:latest \ No newline at end of file +# docker run -d -p 9218:9218 jeepay-merchant:latest