version 1.0

This commit is contained in:
Nils Burghardt
2025-07-12 19:06:23 +02:00
parent d3af3b6433
commit 61d4a3a1ca
115 changed files with 185766 additions and 95 deletions

View File

@@ -1,4 +1,14 @@
FROM ubuntu:latest
LABEL authors="me"
# 1. Verwende Java 17 JDK als Base Image
FROM eclipse-temurin:17-jdk-alpine
ENTRYPOINT ["top", "-b"]
# 2. Arbeitsverzeichnis
WORKDIR /app
# 3. Kopiere das JAR (Pfad siehe unten)
COPY build/libs/mytimetracker.jar app.jar
# 4. Port freigeben
EXPOSE 8080
# 5. Startbefehl
ENTRYPOINT ["java", "-jar", "app.jar"]