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) <noreply@anthropic.com>
This commit is contained in:
@@ -24,4 +24,5 @@ ENV SPRING_DATASOURCE_PASSWORD=cameleer_dev
|
|||||||
ENV OPENSEARCH_URL=http://opensearch:9200
|
ENV OPENSEARCH_URL=http://opensearch:9200
|
||||||
|
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
ENTRYPOINT exec java -jar /app/server.jar
|
ENV TZ=UTC
|
||||||
|
ENTRYPOINT exec java -Duser.timezone=UTC -jar /app/server.jar
|
||||||
|
|||||||
Reference in New Issue
Block a user