42Cummer commited on
Commit
4a8615d
·
verified ·
1 Parent(s): 3ad4896

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -20
Dockerfile CHANGED
@@ -6,25 +6,6 @@ RUN apt-get update && apt-get install -y \
6
  gnupg \
7
  unzip \
8
  curl \
9
- libglib2.0-0 \
10
- libgobject-2.0-0 \
11
- libnspr4 \
12
- libnss3 \
13
- libdbus-1-3 \
14
- libatk1.0-0 \
15
- libatk-bridge2.0-0 \
16
- libexpat1 \
17
- libx11-6 \
18
- libxcomposite1 \
19
- libxdamage1 \
20
- libxext6 \
21
- libxfixes3 \
22
- libxrandr2 \
23
- libgbm1 \
24
- libxcb1 \
25
- libxkbcommon0 \
26
- libasound2 \
27
- libcups2 \
28
  && apt-get clean \
29
  && rm -rf /var/lib/apt/lists/*
30
 
@@ -35,8 +16,8 @@ RUN pip install -r requirements.txt
35
 
36
  # Install Playwright browsers and system dependencies
37
  ENV PLAYWRIGHT_BROWSERS_PATH=/tmp/playwright-browsers
38
- RUN playwright install chromium
39
  RUN playwright install-deps
 
40
 
41
  # Verify the installation and show the exact path
42
  RUN playwright --version && ls -la /tmp/playwright-browsers/ && find /tmp/playwright-browsers/ -name "chrome" -type f
 
6
  gnupg \
7
  unzip \
8
  curl \
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  && apt-get clean \
10
  && rm -rf /var/lib/apt/lists/*
11
 
 
16
 
17
  # Install Playwright browsers and system dependencies
18
  ENV PLAYWRIGHT_BROWSERS_PATH=/tmp/playwright-browsers
 
19
  RUN playwright install-deps
20
+ RUN playwright install chromium
21
 
22
  # Verify the installation and show the exact path
23
  RUN playwright --version && ls -la /tmp/playwright-browsers/ && find /tmp/playwright-browsers/ -name "chrome" -type f