From 9499ffc68418a43991bf59f421c706465c68737f Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Mon, 17 Oct 2022 09:21:32 +0300 Subject: [PATCH] add Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..75458c6 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file