Neon-AI commited on
Commit
e986d8e
·
verified ·
1 Parent(s): 6d71073

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -28
Dockerfile CHANGED
@@ -1,33 +1,10 @@
1
  FROM python:3.11-slim
2
 
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies for Playwright + FFmpeg
6
  RUN apt-get update && apt-get install -y \
7
- libnss3 \
8
- libnspr4 \
9
- libatk1.0-0 \
10
- libatk-bridge2.0-0 \
11
- libcups2 \
12
- libdrm2 \
13
- libxkbcommon0 \
14
- libxcomposite1 \
15
- libxdamage1 \
16
- libxfixes3 \
17
- libxrandr2 \
18
- libgbm1 \
19
- libpango-1.0-0 \
20
- libasound2 \
21
- libatspi2.0-0 \
22
- libwayland-client0 \
23
- libx11-xcb1 \
24
- fonts-liberation \
25
- libappindicator3-1 \
26
- libxshmfence1 \
27
- libxext6 \
28
- libx11-6 \
29
- libxss1 \
30
- libxcursor1 \
31
  wget \
32
  curl \
33
  git \
@@ -37,11 +14,9 @@ RUN apt-get update && apt-get install -y \
37
  # Copy only requirements first (cache layer)
38
  COPY requirements.txt .
39
 
 
40
  RUN pip install --no-cache-dir -r requirements.txt
41
 
42
- # Install Playwright browsers
43
- RUN pip install playwright && playwright install chromium
44
-
45
  # Copy all code
46
  COPY . .
47
 
 
1
  FROM python:3.11-slim
2
 
3
+ # Set working directory
4
  WORKDIR /app
5
 
6
+ # Install only essential system dependencies
7
  RUN apt-get update && apt-get install -y \
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  wget \
9
  curl \
10
  git \
 
14
  # Copy only requirements first (cache layer)
15
  COPY requirements.txt .
16
 
17
+ # Install Python dependencies
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
 
 
 
20
  # Copy all code
21
  COPY . .
22