Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -8,7 +8,6 @@ RUN apt-get update && apt-get install -y \
|
|
| 8 |
ca-certificates \
|
| 9 |
fonts-liberation \
|
| 10 |
fonts-unifont \
|
| 11 |
-
libgdk-pixbuf-xlib-2.0-0 \
|
| 12 |
libasound2t64 \
|
| 13 |
libatk-bridge2.0-0 \
|
| 14 |
libatk1.0-0 \
|
|
@@ -26,6 +25,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 26 |
libxrandr2 \
|
| 27 |
libxss1 \
|
| 28 |
libxtst6 \
|
|
|
|
|
|
|
| 29 |
xvfb \
|
| 30 |
&& rm -rf /var/lib/apt/lists/*
|
| 31 |
|
|
@@ -35,7 +36,8 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444 \
|
|
| 35 |
|
| 36 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 37 |
|
| 38 |
-
RUN playwright install
|
|
|
|
| 39 |
|
| 40 |
EXPOSE 7860
|
| 41 |
|
|
|
|
| 8 |
ca-certificates \
|
| 9 |
fonts-liberation \
|
| 10 |
fonts-unifont \
|
|
|
|
| 11 |
libasound2t64 \
|
| 12 |
libatk-bridge2.0-0 \
|
| 13 |
libatk1.0-0 \
|
|
|
|
| 25 |
libxrandr2 \
|
| 26 |
libxss1 \
|
| 27 |
libxtst6 \
|
| 28 |
+
libxshmfence1 \
|
| 29 |
+
libgles2 \
|
| 30 |
xvfb \
|
| 31 |
&& rm -rf /var/lib/apt/lists/*
|
| 32 |
|
|
|
|
| 36 |
|
| 37 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 38 |
|
| 39 |
+
RUN playwright install chromium
|
| 40 |
+
RUN playwright install-deps chromium
|
| 41 |
|
| 42 |
EXPOSE 7860
|
| 43 |
|