Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wjddn2165 committed Jul 29, 2024
1 parent 745a931 commit dd7534e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Server/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM amazoncorretto:17
# FROM openjdk:17-jdk
ARG JAR_FILE=build/libs/*.jar

COPY ${JAR_FILE} jgs-spring-boot.jar
# COPY build/libs/*.jar my-project.jar
ENTRYPOINT ["java","-jar","/jgs-spring-boot.jar"]

RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

0 comments on commit dd7534e

Please sign in to comment.