diff --git a/Dockerfile b/Dockerfile index a09c754..9abe50f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM openjdk:21 ARG JAR_FILE=build/libs/earlybird-server.jar COPY ${JAR_FILE} app.jar -RUN apk add tzdata && ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime -EXPOSE 8080 +RUN apt-get update && apt-get install -y tzdata \ + && ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime \ + && echo "Asia/Seoul" > /etc/timezoneEXPOSE 8080 ENTRYPOINT ["java", "-jar", "/app.jar"] \ No newline at end of file