kltn20133118 commited on
Commit
a636075
·
verified ·
1 Parent(s): 103db85

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +25 -1
Dockerfile CHANGED
@@ -1,7 +1,31 @@
1
- FROM mcr.microsoft.com/playwright:v1.49.0
2
 
3
  WORKDIR /code
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  # Cài đặt các gói phụ thuộc cần thiết
6
  RUN apt-get update && apt-get install -y \
7
  python3-pip \
 
1
+ FROM mcr.microsoft.com/playwright:v1.49.0-jammy
2
 
3
  WORKDIR /code
4
 
5
+ RUN apt-get update && apt-get install -y --no-install-recommends \
6
+ libglib2.0-0 \
7
+ libnss3 \
8
+ libnspr4 \
9
+ libatk1.0-0 \
10
+ libatk-bridge2.0-0 \
11
+ libcups2 \
12
+ libdrm2 \
13
+ libdbus-1-3 \
14
+ libxcb1 \
15
+ libxkbcommon0 \
16
+ libx11-6 \
17
+ libxcomposite1 \
18
+ libxdamage1 \
19
+ libxext6 \
20
+ libxfixes3 \
21
+ libxrandr2 \
22
+ libgbm1 \
23
+ libpango-1.0-0 \
24
+ libcairo2 \
25
+ libasound2 \
26
+ libatspi2.0-0 \
27
+ && rm -rf /var/lib/apt/lists/*
28
+
29
  # Cài đặt các gói phụ thuộc cần thiết
30
  RUN apt-get update && apt-get install -y \
31
  python3-pip \