From 50ccd524e06c2065b9dd2f573a0dc901b7b127d7 Mon Sep 17 00:00:00 2001 From: Taciano Morais Silva Date: Sun, 1 May 2022 21:13:29 -0300 Subject: [PATCH] Criando arquivo Dockerfile #62 O arquivo criado segundo o tutorial https://www.baeldung.com/spring-boot-postgresql-docker --- src/main/docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/main/docker/Dockerfile diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile new file mode 100644 index 0000000..fa1dfb9 --- /dev/null +++ b/src/main/docker/Dockerfile @@ -0,0 +1,4 @@ +FROM adoptopenjdk:11-jre-hotspot +ARG JAR_FILE=*.jar +COPY ${JAR_FILE} application.jar +ENTRYPOINT ["java", "-jar", "application.jar"]