From 85ab60c388767bf7a7df540ed939745c383cb73d Mon Sep 17 00:00:00 2001 From: guybar Date: Wed, 13 Nov 2024 14:42:13 +0200 Subject: [PATCH] Create DOCKERFILE --- DOCKERFILE | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 DOCKERFILE diff --git a/DOCKERFILE b/DOCKERFILE new file mode 100644 index 00000000000..055d7ae67b4 --- /dev/null +++ b/DOCKERFILE @@ -0,0 +1,5 @@ +FROM openjdk:11-jre-slim +COPY spring-petclinic-SNAPSHOT-1.26.jar /app/spring-petclinic-SNAPSHOT-1.26.jar +ENTRYPOINT ["java"] +CMD ["-jar", "/app/spring-petclinic-SNAPSHOT-1.26.jar"] +EXPOSE 8080