pvanand commited on
Commit
964965b
·
verified ·
1 Parent(s): e23cb90

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -21
Dockerfile CHANGED
@@ -5,26 +5,7 @@ FROM python:3.10.9
5
  WORKDIR /app
6
 
7
  # Install system dependencies
8
- RUN apt-get update && apt-get install -y \
9
- libnss3 \
10
- libnspr4 \
11
- libdbus-1-3 \
12
- libatk1.0-0 \
13
- libatk-bridge2.0-0 \
14
- libcups2 \
15
- libdrm2 \
16
- libxkbcommon0 \
17
- libatspi2.0-0 \
18
- libxcomposite1 \
19
- libxdamage1 \
20
- libxfixes3 \
21
- libxrandr2 \
22
- libgbm1 \
23
- libasound2 \
24
- libx11-xcb1\
25
- libxcursor1\
26
- libgtk-3-0\
27
- && rm -rf /var/lib/apt/lists/*
28
 
29
  # Copy the requirements file into the container
30
  COPY requirements.txt .
@@ -33,7 +14,7 @@ COPY requirements.txt .
33
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
34
 
35
  # Install Playwright browsers
36
- RUN playwright install
37
 
38
  # Create the .crawl4ai directory with correct permissions
39
  RUN mkdir /.crawl4ai && chmod 777 /.crawl4ai
 
5
  WORKDIR /app
6
 
7
  # Install system dependencies
8
+ RUN apt-get update && apt-get install -y
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
  # Copy the requirements file into the container
11
  COPY requirements.txt .
 
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
  # Install Playwright browsers
17
+ RUN playwright install deps
18
 
19
  # Create the .crawl4ai directory with correct permissions
20
  RUN mkdir /.crawl4ai && chmod 777 /.crawl4ai