Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \
|
|
17 |
libxcomposite1 \
|
18 |
libxdamage1 \
|
19 |
libatspi2.0-0 \
|
20 |
-
chromium \
|
21 |
&& apt-get clean \
|
22 |
&& rm -rf /var/lib/apt/lists/*
|
23 |
|
@@ -26,12 +26,10 @@ RUN apt-get update && apt-get install -y \
|
|
26 |
RUN pip install playwright
|
27 |
RUN playwright install
|
28 |
RUN playwright install-deps
|
29 |
-
RUN playwright install chromium
|
30 |
|
31 |
# Sao chép mã nguồn và cài đặt các thư viện Python từ requirements.txt
|
32 |
COPY ./requirements.txt /code/requirements.txt
|
33 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
34 |
-
RUN playwright install chromium
|
35 |
# Sao chép toàn bộ mã nguồn vào container
|
36 |
COPY . .
|
37 |
|
|
|
17 |
libxcomposite1 \
|
18 |
libxdamage1 \
|
19 |
libatspi2.0-0 \
|
20 |
+
chromium-bsu \
|
21 |
&& apt-get clean \
|
22 |
&& rm -rf /var/lib/apt/lists/*
|
23 |
|
|
|
26 |
RUN pip install playwright
|
27 |
RUN playwright install
|
28 |
RUN playwright install-deps
|
|
|
29 |
|
30 |
# Sao chép mã nguồn và cài đặt các thư viện Python từ requirements.txt
|
31 |
COPY ./requirements.txt /code/requirements.txt
|
32 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
33 |
# Sao chép toàn bộ mã nguồn vào container
|
34 |
COPY . .
|
35 |
|