amit0987 commited on
Commit
eaa753e
·
verified ·
1 Parent(s): 101de00

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile CHANGED
@@ -4,6 +4,29 @@ FROM python:3.9-slim-buster
4
  # Install Playwright and its dependencies
5
  RUN pip install playwright && playwright install chromium
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  # Set the working directory
8
  WORKDIR /app
9
 
 
4
  # Install Playwright and its dependencies
5
  RUN pip install playwright && playwright install chromium
6
 
7
+ # Install the missing system dependencies
8
+ RUN apt-get update && apt-get install -y \
9
+ libglib2.0-0 \
10
+ libnss3 \
11
+ libnspr4 \
12
+ libdbus-1-3 \
13
+ libatk1.0-0 \
14
+ libatk-bridge2.0-0 \
15
+ libcups2 \
16
+ libx11-6 \
17
+ libxcomposite1 \
18
+ libxdamage1 \
19
+ libxext6 \
20
+ libxfixes3 \
21
+ libxrandr2 \
22
+ libgbm1 \
23
+ libxcb1 \
24
+ libxkbcommon0 \
25
+ libpango-1.0-0 \
26
+ libcairo2 \
27
+ libasound2 \
28
+ libatspi2.0-0
29
+
30
  # Set the working directory
31
  WORKDIR /app
32