From 821a0095a6166e18492c7ccefa71c3bd1daef50b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EB=AF=BC=ED=98=81?= Date: Tue, 11 Jun 2024 15:51:23 +0900 Subject: [PATCH] =?UTF-8?q?Chore=20:=20.gitignore=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 --- Dockerfile | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 Dockerfile diff --git a/.gitignore b/.gitignore index f7fd9d1..9ad45ab 100644 --- a/.gitignore +++ b/.gitignore @@ -39,8 +39,5 @@ out/ # Ignore .DS_Store files .DS_Store -# Ignore DockerFile -Dockerfile - # Ignore key file src/main/resources/mindful-rhythm-423909-b8-cc2178f31cf2.json \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6c8ac7e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM --platform=linux/amd64 openjdk:17-jdk +ARG JAR_FILE=build/libs/petwalk-0.0.1-SNAPSHOT.jar +COPY ${JAR_FILE} app.jar +EXPOSE 8080 + +ENTRYPOINT ["java", "-jar", "/app.jar"] \ No newline at end of file