update
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -7,8 +7,11 @@ COPY ./packages.txt /app/packages.txt
|
|
7 |
|
8 |
RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
9 |
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
10 |
-
|
|
|
|
|
11 |
|
|
|
12 |
# User
|
13 |
RUN useradd -m -u 1000 user
|
14 |
USER user
|
|
|
7 |
|
8 |
RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
9 |
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
10 |
+
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
11 |
+
|
12 |
+
RUN playwright install --with-deps chromium
|
13 |
|
14 |
+
RUN crawl4ai-setup
|
15 |
# User
|
16 |
RUN useradd -m -u 1000 user
|
17 |
USER user
|