Skip to content

Commit

Permalink
Chore: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
s2hoon committed Jan 8, 2024
1 parent 51fb3d6 commit 06af214
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM openjdk:17-jdk
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} StudyFlex-BE-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java", "-Dspring.profiles.active=docker", "-jar", "StudyFlex-BE-0.0.1-SNAPSHOT.jar"]
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ tasks.named('test') {


}
jar {
enabled = false
}
Empty file.

0 comments on commit 06af214

Please sign in to comment.