adityaiiitr commited on
Commit
a27a468
·
verified ·
1 Parent(s): 6ab4554

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -7
Dockerfile CHANGED
@@ -11,13 +11,21 @@ COPY . /app
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Download and install Chrome WebDriver
14
- RUN apt-get update && \
15
- apt-get install -y wget unzip && \
16
- wget -q -O /tmp/chromedriver.zip https://chromedriver.storage.googleapis.com/94.0.4606.61/chromedriver_linux64.zip && \
17
- unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/ && \
18
- rm /tmp/chromedriver.zip && \
19
- apt-get remove -y wget unzip && \
20
- rm -rf /var/lib/apt/lists/*
 
 
 
 
 
 
 
 
21
 
22
  RUN playwright install chromium
23
 
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Download and install Chrome WebDriver
14
+ RUN apt-get install libnss3\
15
+ libnspr4\
16
+ libdbus-1-3\
17
+ libatk1.0-0\
18
+ libatk-bridge2.0-0\
19
+ libcups2\
20
+ libdrm2\
21
+ libxkbcommon0\
22
+ libatspi2.0-0\
23
+ libxcomposite1\
24
+ libxdamage1\
25
+ libxfixes3\
26
+ libxrandr2\
27
+ libgbm1\
28
+ libasound2
29
 
30
  RUN playwright install chromium
31