From f83df68658f094a3fa6338071fc6549f0ae46944 Mon Sep 17 00:00:00 2001 From: Limchaeyoung <102286483+chaeyoungeee@users.noreply.github.com> Date: Tue, 23 Jul 2024 14:15:07 +0900 Subject: [PATCH] add Dokerfile --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3ccc92e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +# Dockerfile + +# jdk17 Image Start +FROM openjdk:17 + +# 인자 설정 - Jar_File +ARG JAR_FILE=build/libs/*.jar + +# jar 파일 복사 +COPY ${JAR_FILE} app.jar + +# 실행 명령어 +ENTRYPOINT ["java", "-jar", "app.jar"] + +# docker build --platform linux/amd64 -t \ No newline at end of file