Neurolingua commited on
Commit
0785d60
1 Parent(s): 0168358

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -25,7 +25,8 @@ RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add
25
  && rm -rf /var/lib/apt/lists/*
26
 
27
  # Install ChromeDriver that matches the installed Chrome version
28
- RUN CHROME_VERSION=$(google-chrome --version | grep -oP '\d+\.\d+\.\d+') \
 
29
  && CHROME_DRIVER_VERSION=$(curl -sS "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROME_VERSION}") \
30
  && wget -O /tmp/chromedriver.zip "https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip" \
31
  && unzip /tmp/chromedriver.zip -d /usr/local/bin/ \
 
25
  && rm -rf /var/lib/apt/lists/*
26
 
27
  # Install ChromeDriver that matches the installed Chrome version
28
+ # Install ChromeDriver that matches the installed Chrome version
29
+ RUN CHROME_VERSION=$(google-chrome --version | awk '{print $3}' | cut -d '.' -f 1-3) \
30
  && CHROME_DRIVER_VERSION=$(curl -sS "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROME_VERSION}") \
31
  && wget -O /tmp/chromedriver.zip "https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip" \
32
  && unzip /tmp/chromedriver.zip -d /usr/local/bin/ \