From bc70797e31bd5b0046317bf13fa9fb88f57d5898 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Wed, 1 Apr 2026 16:24:23 +0200 Subject: [PATCH] fix: force UTC timezone in Docker runtime Sets TZ=UTC and -Duser.timezone=UTC to guarantee all JVM time operations use UTC regardless of the container's base image or host configuration. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fec62619..bf9eb6c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,4 +24,5 @@ ENV SPRING_DATASOURCE_PASSWORD=cameleer_dev ENV OPENSEARCH_URL=http://opensearch:9200 EXPOSE 8081 -ENTRYPOINT exec java -jar /app/server.jar +ENV TZ=UTC +ENTRYPOINT exec java -Duser.timezone=UTC -jar /app/server.jar