File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,19 @@ RUN pip install --no-cache-dir -r requirements.txt
15
15
# Install pg_dump
16
16
RUN apt-get update && apt-get -y install postgresql-client
17
17
18
+ # Install Chrome and chromedriver
19
+ # Install wget
20
+ RUN apt-get install -y wget
21
+ # Download and Install chrome
22
+ RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
23
+ RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
24
+ # Download and Install chromedriver. The version here depends on what what version of chrome gets installed above !
25
+ RUN wget https://chromedriver.storage.googleapis.com/104.0.5112.79/chromedriver_linux64.zip
26
+ RUN unzip chromedriver_linux64.zip
27
+ RUN mv chromedriver /usr/bin/chromedriver
28
+ RUN chown root:root /usr/bin/chromedriver
29
+ RUN chmod +x /usr/bin/chromedriver
30
+
18
31
# define the port number the container should expose
19
32
EXPOSE 5000
20
33
You can’t perform that action at this time.
0 commit comments