Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
papicc45 committed Apr 2, 2024
1 parent 761ca2e commit 8a27c00
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM openjdk:17-jdk

# 이미지 내부에 /app 디렉토리를 작업 디렉토리로 설정합니다.
WORKDIR /app

# 현재 디렉토리의 build/libs 디렉토리에 있는 .jar 파일을 컨테이너에 복사합니다.
COPY build/libs/*.jar app.jar

# 컨테이너가 시작될 때 실행될 명령어를 설정합니다.
ENTRYPOINT ["java","-Duser.timezone=Asia/Seoul","-jar","app.jar"]

0 comments on commit 8a27c00

Please sign in to comment.