fix: Chrome via Google-Repo statt Distro-Paketen
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
3ca727cec3
commit
f0a295a408
1 changed files with 11 additions and 6 deletions
|
|
@ -1,14 +1,19 @@
|
|||
FROM python:3.12-slim
|
||||
|
||||
# Chrome-Abhängigkeiten
|
||||
# Chrome via Google-Repo (stabile Alternative zu Distro-Paketen)
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
chromium chromium-driver \
|
||||
fonts-liberation libatk-bridge2.0-0 libatk1.0-0 \
|
||||
libcups2 libdbus-1-3 libgdk-pixbuf2.0-0 libnspr4 \
|
||||
libnss3 libx11-xcb1 libxcomposite1 libxdamage1 \
|
||||
libxfixes3 libxrandr2 xdg-utils \
|
||||
wget gnupg ca-certificates curl unzip \
|
||||
libglib2.0-0 libnss3 libatk1.0-0 libatk-bridge2.0-0 \
|
||||
libcups2 libdbus-1-3 libdrm2 libxkbcommon0 libxcomposite1 \
|
||||
libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Chrome installieren
|
||||
RUN wget -q -O /tmp/chrome.deb \
|
||||
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
||||
&& apt-get update && apt-get install -y /tmp/chrome.deb \
|
||||
&& rm /tmp/chrome.deb && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY src/requirements.txt .
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue