Skip to content

Commit

Permalink
[Refactor] 도커파일 크롬 드라이버 자동화
Browse files Browse the repository at this point in the history
  • Loading branch information
hen715 committed Aug 27, 2024
1 parent aaa8b20 commit 61c62fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ RUN yum install -y wget unzip && \
RUN CHROME_VERSION=$(google-chrome --version | grep -oP '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+') && \
echo "Chrome version: $CHROME_VERSION" && \
wget https://storage.googleapis.com/chrome-for-testing-public/$CHROME_VERSION/linux64/chromedriver-linux64.zip && \
unzip chromedriver_linux64.zip -d /usr/bin/ && \
rm chromedriver_linux64.zip
unzip chromedriver-linux64.zip -d /usr/bin/ && \
rm chromedriver-linux64.zip

# 환경변수 PATH에 크롬 드라이버 경로 추가
ENV PATH="/usr/bin/chromedriver-linux64:${PATH}"
Expand Down

0 comments on commit 61c62fa

Please sign in to comment.