Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +14 -4
Dockerfile
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Switch to root user for setup
|
4 |
USER root
|
@@ -23,9 +33,9 @@ RUN apt-get update && \
|
|
23 |
jq \
|
24 |
sqlite3 \
|
25 |
postgresql-client \
|
26 |
-
mysql-client \
|
27 |
redis-tools \
|
28 |
-
chromium
|
29 |
xvfb \
|
30 |
fonts-liberation \
|
31 |
libasound2 \
|
@@ -137,7 +147,7 @@ ENV PATH="/home/coder/.venv/bin:/home/coder/.npm-global/bin:/home/coder/.local/b
|
|
137 |
RUN /home/coder/.venv/bin/pip install --upgrade pip
|
138 |
|
139 |
# Set up Chromium for headless browsing (for Selenium/Playwright)
|
140 |
-
ENV CHROME_BIN=/usr/bin/chromium
|
141 |
ENV DISPLAY=:99
|
142 |
|
143 |
# Create a script to start Xvfb in the background
|
|
|
1 |
+
libasound2 \
|
2 |
+
libatk-bridge2.0-0 \
|
3 |
+
libdrm2 \
|
4 |
+
libxkbcommon0 \
|
5 |
+
libxss1 \
|
6 |
+
libxrandr2 \
|
7 |
+
libpangocairo-1.0-0 \
|
8 |
+
libatk1.0-0 \
|
9 |
+
libcairo-gobject2 \
|
10 |
+
libgtk-3-0 \
|
11 |
+
libgdk-pixbuf2.0-0 \FROM codercom/code-server:latest
|
12 |
|
13 |
# Switch to root user for setup
|
14 |
USER root
|
|
|
33 |
jq \
|
34 |
sqlite3 \
|
35 |
postgresql-client \
|
36 |
+
default-mysql-client \
|
37 |
redis-tools \
|
38 |
+
chromium \
|
39 |
xvfb \
|
40 |
fonts-liberation \
|
41 |
libasound2 \
|
|
|
147 |
RUN /home/coder/.venv/bin/pip install --upgrade pip
|
148 |
|
149 |
# Set up Chromium for headless browsing (for Selenium/Playwright)
|
150 |
+
ENV CHROME_BIN=/usr/bin/chromium
|
151 |
ENV DISPLAY=:99
|
152 |
|
153 |
# Create a script to start Xvfb in the background
|