Spaces:
Running
Running
th
commited on
Commit
·
7893cd8
1
Parent(s):
25faf9b
Fix: Remove --with-deps flag to avoid font package conflicts
Browse filesChanges:
- Use `playwright install chromium` without --with-deps
- All system dependencies already installed manually in first RUN layer
- This avoids the ttf-unifont/ttf-ubuntu-font-family conflicts
The first RUN layer already includes all necessary deps:
- fonts-noto-cjk (Chinese)
- fonts-noto-color-emoji (Emoji)
- fonts-noto-cjk-extra (Extended CJK)
- All Chromium runtime dependencies
🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>
- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -49,9 +49,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 49 |
COPY requirements.txt .
|
| 50 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 51 |
|
| 52 |
-
# Install Playwright
|
| 53 |
-
|
| 54 |
-
RUN playwright install chromium --with-deps
|
| 55 |
|
| 56 |
# Copy application code
|
| 57 |
COPY app.py .
|
|
|
|
| 49 |
COPY requirements.txt .
|
| 50 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 51 |
|
| 52 |
+
# Install Playwright Chromium (without --with-deps to avoid font package conflicts)
|
| 53 |
+
RUN playwright install chromium
|
|
|
|
| 54 |
|
| 55 |
# Copy application code
|
| 56 |
COPY app.py .
|