Skip to content

Commit 9dfd2a1

Browse files
committed
fix: 수정2
1 parent 3ae8d1f commit 9dfd2a1

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
2222
&& apt-get install -y google-chrome-stable \
2323
&& rm -rf /var/lib/apt/lists/*
2424

25-
# ChromeDriver 설치
26-
RUN CHROME_VERSION=$(google-chrome --version | cut -d " " -f3 | cut -d "." -f1) \
27-
&& CHROMEDRIVER_VERSION=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION") \
28-
&& wget -q "https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip" \
29-
&& unzip chromedriver_linux64.zip \
30-
&& mv chromedriver /usr/local/bin/chromedriver \
31-
&& rm chromedriver_linux64.zip \
25+
# ChromeDriver 설치 (고정 버전 사용)
26+
RUN wget -q "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.109/linux64/chromedriver-linux64.zip" \
27+
&& unzip chromedriver-linux64.zip \
28+
&& mv chromedriver-linux64/chromedriver /usr/local/bin/chromedriver \
29+
&& rm -rf chromedriver-linux64.zip chromedriver-linux64 \
3230
&& chmod +x /usr/local/bin/chromedriver
3331

3432
# Python 패키지 설치를 위한 requirements.txt 복사

0 commit comments

Comments
 (0)