From 013c7a313f074729881dc11600ab6177d971a378 Mon Sep 17 00:00:00 2001 From: Jisu Lim <69844138+Ji-soo708@users.noreply.github.com> Date: Sun, 29 Dec 2024 00:54:26 +0900 Subject: [PATCH] =?UTF-8?q?[YS-35]=20chore:=20=EB=88=84=EB=9D=BD=EB=90=9C?= =?UTF-8?q?=20Dockerfile=20=EC=B6=94=EA=B0=80=20(#9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: add cd script * chore: add docker-compose file * chore: add docker file * chore: rename jar file --- dockerfile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..59d0816 --- /dev/null +++ b/dockerfile @@ -0,0 +1,5 @@ +FROM adoptopenjdk/openjdk17:alpine-jre +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} dobby.jar +ENV SPRING_PROFILES_ACTIVE=dev +ENTRYPOINT ["java","-jar", "-Dspring.profiles.active=dev", "/dobby.jar"]