From d86499860f8f5b5f875c6be4c153e825e7e21922 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 31 Oct 2023 17:10:13 +0100 Subject: [PATCH] Add Dockerfile for hosting the application --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a65eefb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM eclipse-temurin:17-jre-jammy +ARG JAR_FILE=app/target/*.jar +COPY ${JAR_FILE} app.jar +EXPOSE 8081 +ENTRYPOINT ["java","-jar","/app.jar"]