diff --git a/Dockerfile b/Dockerfile index 4f0e310..6c355c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ -FROM openjdk:21 +FROM openjdk:21-jdk-slim # 크롬 설치 -RUN yum update -y && yum install -y wget curl unzip \ - && wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm \ - && yum install -y ./google-chrome-stable_current_x86_64.rpm \ - && rm ./google-chrome-stable_current_x86_64.rpm \ - && yum clean all +RUN apt-get update && apt-get install -y wget curl unzip \ + && wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ + && apt-get install -y ./google-chrome-stable_current_amd64.deb \ + && rm ./google-chrome-stable_current_amd64.deb \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* # JAR 파일 복사 및 실행 ARG JAR_FILE=build/libs/*.jar