Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -53,20 +53,16 @@ ENV PYTHONUNBUFFERED=1 \
|
|
53 |
|
54 |
# Cài đặt môi trường ảo Python
|
55 |
|
56 |
-
|
57 |
-
# Cài đặt Playwright và các phần phụ thuộc
|
58 |
-
RUN pip install --no-cache-dir -r ./requirements.txt
|
59 |
RUN pip install playwright
|
60 |
RUN playwright install
|
61 |
RUN playwright install-deps
|
62 |
RUN playwright install chromium
|
63 |
RUN pip install --upgrade --ignore-installed playwright
|
64 |
RUN playwright install --with-deps chromium
|
65 |
-
|
66 |
|
67 |
# Sao chép mã nguồn
|
68 |
COPY ./requirements.txt /code/requirements.txt
|
69 |
-
RUN pip install --no-cache-dir -r ./requirements.txt
|
70 |
RUN pip install --no-cache-dir -r /code/requirements.txt
|
71 |
RUN playwright install chromium
|
72 |
|
|
|
53 |
|
54 |
# Cài đặt môi trường ảo Python
|
55 |
|
|
|
|
|
|
|
56 |
RUN pip install playwright
|
57 |
RUN playwright install
|
58 |
RUN playwright install-deps
|
59 |
RUN playwright install chromium
|
60 |
RUN pip install --upgrade --ignore-installed playwright
|
61 |
RUN playwright install --with-deps chromium
|
62 |
+
RUN pip install crawl4ai
|
63 |
|
64 |
# Sao chép mã nguồn
|
65 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
66 |
RUN pip install --no-cache-dir -r /code/requirements.txt
|
67 |
RUN playwright install chromium
|
68 |
|