File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 복사
You can’t perform that action at this time.
0 commit comments