NightFury2710 commited on
Commit
4389e63
·
1 Parent(s): caa5c39

update api handle 3

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -25,9 +25,9 @@ COPY requirements.txt .
25
  RUN pip install --no-cache-dir -r requirements.txt
26
 
27
  # Install playwright and browsers as non-root user
28
- RUN pip install playwright && \
29
- playwright install --with-deps chromium && \
30
- playwright install-deps
31
 
32
  # Copy application code
33
  COPY app.py .
 
25
  RUN pip install --no-cache-dir -r requirements.txt
26
 
27
  # Install playwright and browsers as non-root user
28
+ RUN pip install --user playwright && \
29
+ python -m playwright install --with-deps chromium && \
30
+ python -m playwright install-deps
31
 
32
  # Copy application code
33
  COPY app.py .