Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +22 -22
Dockerfile
CHANGED
@@ -7,31 +7,31 @@ WORKDIR /app
|
|
7 |
# Set environment variables
|
8 |
ENV PYTHONDONTWRITEBYTECODE=1
|
9 |
ENV PYTHONUNBUFFERED=1
|
10 |
-
|
11 |
|
12 |
# Install system dependencies
|
13 |
RUN apt-get update && apt-get install -y
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
|
36 |
# Copy the requirements file into the container
|
37 |
COPY requirements.txt .
|
|
|
7 |
# Set environment variables
|
8 |
ENV PYTHONDONTWRITEBYTECODE=1
|
9 |
ENV PYTHONUNBUFFERED=1
|
10 |
+
ENV PLAYWRIGHT_BROWSERS_PATH=/app/ms-playwright
|
11 |
|
12 |
# Install system dependencies
|
13 |
RUN apt-get update && apt-get install -y
|
14 |
+
# libnss3 \
|
15 |
+
# libnspr4 \
|
16 |
+
# libdbus-1-3 \
|
17 |
+
# libatk1.0-0 \
|
18 |
+
# libatk-bridge2.0-0 \
|
19 |
+
# libcups2 \
|
20 |
+
# libdrm2 \
|
21 |
+
# libxkbcommon0 \
|
22 |
+
# libatspi2.0-0 \
|
23 |
+
# libxcomposite1 \
|
24 |
+
# libxdamage1 \
|
25 |
+
# libxfixes3 \
|
26 |
+
# libxrandr2 \
|
27 |
+
# libgbm1 \
|
28 |
+
# libasound2 \
|
29 |
+
# libpango-1.0-0 \
|
30 |
+
# libcairo2 \
|
31 |
+
# libnss3 \
|
32 |
+
# libxss1 \
|
33 |
+
# && apt-get clean \
|
34 |
+
# && rm -rf /var/lib/apt/lists/*
|
35 |
|
36 |
# Copy the requirements file into the container
|
37 |
COPY requirements.txt .
|