Skip to content

Commit

Permalink
chore : 도커파일에 db 관련 환경 변수 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
tlarbals824 committed Feb 27, 2024
1 parent 25b8ce8 commit a192465
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kobaco/kobaco/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM openjdk:17
ARG JAR_FILE=/build/libs/kobaco-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
ENV TZ=Asia/Seoul \
DB_URL=${DB_URL} \
DB_USERNAME=${DB_USERNAME} \
DB_PASSWORD=${DB_PASSWORD} \
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit a192465

Please sign in to comment.