Skip to content

Commit

Permalink
Merge pull request #32 from Cherrypickk/infra/17-docker
Browse files Browse the repository at this point in the history
#17 docker file 시스템 진입점 spring profile 명시
  • Loading branch information
dangnak2 authored Jul 19, 2023
2 parents 37ff2ab + 6a92d2a commit 79c1887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ ARG JAR_FILE=./build/libs/Cherrypick-Server-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar

# 시스템 진입점 정의
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /app.jar"]
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} ${PROFILE} -jar /app.jar"]

0 comments on commit 79c1887

Please sign in to comment.