Add Dockerfile for hosting the application
This commit is contained in:
parent
0f936dbb1a
commit
d86499860f
1 changed files with 5 additions and 0 deletions
5
Dockerfile
Normal file
5
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue