Add Dockerfile for hosting the application

This commit is contained in:
Manuel Thalmann 2023-10-31 17:10:13 +01:00
parent 0f936dbb1a
commit d86499860f

5
Dockerfile Normal file
View file

@ -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"]