11 lines
329 B
Docker
11 lines
329 B
Docker
FROM eclipse-temurin:21-jre
|
|
|
|
# Zeitzone auf Berlin setzen und 24h-Format konfigurieren
|
|
ENV TZ=Europe/Berlin
|
|
ENV LC_TIME=de_DE.UTF-8
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
COPY target/*.jar app.jar
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["java", "-jar", "/app.jar", "--spring.profiles.active=production"]
|