Create Dockerfile_v1

This commit is contained in:
mMate89 2023-05-04 14:24:05 +02:00 committed by GitHub
parent 541c00aa2f
commit 6826d5948f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
Dockerfile_v1 Normal file
View file

@ -0,0 +1,5 @@
# assume that the springboot application was previously built in command line
FROM openjdk:17
EXPOSE 8080
COPY /target/*.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]