ljx77qaq commited on
Commit
1ea527e
·
verified ·
1 Parent(s): aafc38a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -20,10 +20,13 @@ RUN apt-get update && \
20
 
21
  WORKDIR /app
22
 
23
- COPY requirements.txt /app/requirements.txt
24
 
25
- RUN python -m pip install --upgrade pip setuptools wheel && \
26
- pip install -r /app/requirements.txt
 
 
 
27
 
28
  # 安装 Chromium 和 Chromium 所需系统依赖
29
  RUN python -m playwright install --with-deps chromium && \
 
20
 
21
  WORKDIR /app
22
 
23
+ COPY requirements.txt .
24
 
25
+ RUN pip install --upgrade pip setuptools wheel \
26
+ && pip install -r requirements.txt
27
+
28
+ RUN python -m playwright install --with-deps chromium \
29
+ && chmod -R a+rX /ms-playwright
30
 
31
  # 安装 Chromium 和 Chromium 所需系统依赖
32
  RUN python -m playwright install --with-deps chromium && \