Skip to content

Commit

Permalink
Merge pull request #416 from UPbrella/dev
Browse files Browse the repository at this point in the history
v1.2.3 release
  • Loading branch information
birdieHyun authored Dec 19, 2023
2 parents b06e493 + 63fef93 commit ba1c14b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# 기존의 openjdk 이미지 사용
FROM openjdk:11-jre-slim

# 시간대 설정을 위한 tzdata 패키지 설치
RUN apt-get update && apt-get install -y tzdata

# 환경변수를 통해 시간대 설정
ENV TZ=Asia/Seoul

# JAR 파일 복사
ARG JAR_FILE=build/libs/be-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} upbrella-server.jar

ENTRYPOINT ["java", "-jar", "upbrella-server.jar"]
# Java 애플리케이션 실행
ENTRYPOINT ["java", "-jar", "upbrella-server.jar"]

0 comments on commit ba1c14b

Please sign in to comment.