dina1 commited on
Commit
0d4dc99
·
verified ·
1 Parent(s): 9a62413

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -29,6 +29,8 @@ RUN apt-get update && apt-get install -y \
29
  libgtk-3-0 \
30
  xdg-utils \
31
  fonts-liberation \
 
 
32
  && rm -rf /var/lib/apt/lists/*
33
 
34
  # 4️⃣ Copy and install Python dependencies
@@ -36,7 +38,8 @@ COPY requirements.txt .
36
  RUN pip install --no-cache-dir -r requirements.txt
37
 
38
  # 5️⃣ Install Playwright browsers (Chromium only)
39
- RUN playwright install --with-deps chromium
 
40
 
41
  # 6️⃣ Copy all project files
42
  COPY . .
 
29
  libgtk-3-0 \
30
  xdg-utils \
31
  fonts-liberation \
32
+ fonts-unifont \
33
+ fonts-ubuntu \
34
  && rm -rf /var/lib/apt/lists/*
35
 
36
  # 4️⃣ Copy and install Python dependencies
 
38
  RUN pip install --no-cache-dir -r requirements.txt
39
 
40
  # 5️⃣ Install Playwright browsers (Chromium only)
41
+ # Using --with-deps=false since dependencies are already installed
42
+ RUN playwright install chromium --with-deps=false
43
 
44
  # 6️⃣ Copy all project files
45
  COPY . .