Spaces:
Running
Running
Tecnhotron
commited on
Commit
·
673e857
1
Parent(s):
41ace70
First
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
@@ -2,8 +2,14 @@ FROM python:3.13
|
|
2 |
|
3 |
RUN useradd -m -u 1000 user
|
4 |
|
5 |
-
# Install
|
6 |
-
RUN apt-get update && apt-get install -y xvfb
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
USER user
|
9 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
2 |
|
3 |
RUN useradd -m -u 1000 user
|
4 |
|
5 |
+
# Install system dependencies
|
6 |
+
RUN apt-get update && apt-get install -y xvfb wget
|
7 |
+
|
8 |
+
# Install Google Chrome
|
9 |
+
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
|
10 |
+
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
|
11 |
+
&& apt-get update \
|
12 |
+
&& apt-get install -y google-chrome-stable
|
13 |
|
14 |
USER user
|
15 |
ENV PATH="/home/user/.local/bin:$PATH"
|