Skip to content

Commit

Permalink
chore(docker): docker 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobhboy committed May 2, 2024
1 parent 9e560f1 commit 0049c19
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 38 deletions.
36 changes: 0 additions & 36 deletions docker-compose.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile → logging-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:21-jdk
ARG JAR_FILE=build/libs/*.jar
ARG JAR_FILE=./build/libs/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
4 changes: 4 additions & 0 deletions main-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM eclipse-temurin:21-jdk
ARG JAR_FILE=./build/libs/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
2 changes: 1 addition & 1 deletion main-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ bootJar {
}

jar {
enabled = true
enabled = false
}

0 comments on commit 0049c19

Please sign in to comment.