Update timezone of jre docker image

This commit is contained in:
Marcel Schwarz 2020-05-28 19:57:05 +02:00
parent 77c6b85eec
commit 161f5c7054

View File

@ -5,6 +5,7 @@ RUN ["gradle", "bootJar"]
FROM openjdk:11-jre-slim FROM openjdk:11-jre-slim
WORKDIR /root WORKDIR /root
ENV TZ=Europe/Berlin
COPY --from=build /root/build/libs/*.jar app.jar COPY --from=build /root/build/libs/*.jar app.jar
EXPOSE 5000 EXPOSE 5000
ENTRYPOINT ["java", "-jar", "app.jar"] ENTRYPOINT ["java", "-jar", "app.jar"]