Skip to content

Commit

Permalink
add Dokerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeyoungeee authored Jul 23, 2024
1 parent 768d6f0 commit f83df68
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f83df68

Please sign in to comment.