修改时区

This commit is contained in:
刘跃雄 2025-08-12 17:26:42 +08:00
parent bec55e271b
commit cca5321dca

View File

@ -7,6 +7,6 @@ FROM ibm-semeru-runtimes:open-21-jre
WORKDIR /app
COPY --from=build /app/target/Jetbrains-Help.jar Jetbrains-Help.jar
ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/{TZ} /etc/localtime && echo "{TZ}" > /etc/timezone
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
EXPOSE 10768
ENTRYPOINT ["java", "-jar", "Jetbrains-Help.jar"]