add Dockerfile

This commit is contained in:
Struchkov Mark 2022-10-17 09:21:32 +03:00
parent 7f280b7a1e
commit 9499ffc684

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM openjdk:17.0.2-jdk-slim-buster
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]