Skip to content

Commit

Permalink
[Feat]: 도커 파일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
bayy1216 committed May 28, 2024
1 parent 0a7be4d commit 67acae2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM amd64/amazoncorretto:17
WORKDIR /usr/src/app
ARG JAR_FILE=zzansuni-api-server/app/build/libs/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul", "-jar", "app.jar"]
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ plugins {
allprojects {
group = 'org.haedal'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'

repositories {
mavenCentral()
Expand All @@ -29,6 +28,7 @@ subprojects {
apply plugin: 'io.spring.dependency-management' // 서브 프로젝트 블록안에서 적용
apply plugin: 'org.springframework.boot' // 서브 프로젝트 블록안에서 적용

sourceCompatibility = '17'

configurations {
compileOnly {
Expand Down

0 comments on commit 67acae2

Please sign in to comment.