Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -13,12 +13,14 @@ RUN apt-get update && apt-get install -y \
|
|
13 |
libgbm-dev \
|
14 |
libgtk-3-0 \
|
15 |
xdg-utils \
|
|
|
16 |
&& rm -rf /var/lib/apt/lists/*
|
17 |
|
18 |
# Install Playwright and other dependencies
|
19 |
RUN pip install --upgrade pip
|
20 |
COPY requirements.txt .
|
21 |
RUN pip install -r requirements.txt
|
|
|
22 |
|
23 |
RUN useradd -m -u 1000 user
|
24 |
USER user
|
|
|
13 |
libgbm-dev \
|
14 |
libgtk-3-0 \
|
15 |
xdg-utils \
|
16 |
+
libasound2 \
|
17 |
&& rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
# Install Playwright and other dependencies
|
20 |
RUN pip install --upgrade pip
|
21 |
COPY requirements.txt .
|
22 |
RUN pip install -r requirements.txt
|
23 |
+
RUN playwright install-deps
|
24 |
|
25 |
RUN useradd -m -u 1000 user
|
26 |
USER user
|