Skip to content

Commit

Permalink
test-5
Browse files Browse the repository at this point in the history
  • Loading branch information
krrish-sehgal committed Dec 23, 2024
1 parent 7893fcd commit 34f3ff1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ RUN apt-get update && \
dos2unix && \
rm -rf /var/lib/apt/lists/*


# Install Google Chrome (latest stable version)
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
dpkg -i google-chrome-stable_current_amd64.deb; apt-get -y install -f

# Install chromedriver (matching installed chrome version)
RUN CHROME_VERSION=$(google-chrome-stable --version | awk '{print $3}' | sed 's/\..*//') && \
wget https://chromedriver.storage.googleapis.com/${CHROME_VERSION}.0/chromedriver_linux64.zip && \
unzip chromedriver_linux64.zip -d /usr/local/bin/ && \
rm chromedriver_linux64.zip

# Install Poetry and dependencies
RUN pip install poetry
RUN poetry config virtualenvs.create false
Expand Down

0 comments on commit 34f3ff1

Please sign in to comment.