Skip to content

Commit

Permalink
🐛 Deploy fix
Browse files Browse the repository at this point in the history
Related:
  • Loading branch information
L-U-Ready committed Oct 13, 2024
1 parent 8f2ec4e commit 639c906
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM openjdk:21-jdk-slim

WORKDIR /app

COPY build/libs/*.jar /app/the_monitor.jar
COPY build/libs/the_monitor-0.0.1-SNAPSHOT.jar /app/the_monitor.jar

EXPOSE 8080

Expand Down
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ dependencies {

//swagger
implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webmvc-ui', version: '2.2.0'


}

tasks.named('test') {
Expand All @@ -75,3 +73,10 @@ tasks.named('asciidoctor') {
inputs.dir snippetsDir
dependsOn test
}

jar {
// 고정된 파일 이름 설정
archiveBaseName = 'the_monitor'
archiveVersion = '0.0.1'
archiveClassifier = ''
}

0 comments on commit 639c906

Please sign in to comment.