zhou12189108 commited on
Commit
da8b3ff
1 Parent(s): cc1e1c5

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -17,8 +17,9 @@ COPY --from=builder /*.deb /
17
  WORKDIR /app
18
  #RUN echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
19
  RUN apt update
 
20
  RUN apt install -y python3 python3-pip libgl1-mesa-glx wget libglib2.0-dev sudo libpci-dev psmisc
21
- RUN pip install -U playwright hcaptcha_challenger requests loguru flask Flask-Limiter
22
  RUN dpkg -i /libgl1-mesa-dri.deb \
23
  && dpkg -i /adwaita-icon-theme.deb \
24
  # Install dependencies
@@ -39,7 +40,7 @@ RUN playwright install firefox --with-deps
39
 
40
  USER foxer
41
  RUN playwright install firefox
42
- COPY hcaptcha_solver.py .
43
 
44
  COPY api.py .
45
  EXPOSE 8081
 
17
  WORKDIR /app
18
  #RUN echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
19
  RUN apt update
20
+ RUN apt upgrade -y
21
  RUN apt install -y python3 python3-pip libgl1-mesa-glx wget libglib2.0-dev sudo libpci-dev psmisc
22
+ RUN pip install playwright playwright_recaptcha requests loguru flask Flask-Limiter undetected_playwright
23
  RUN dpkg -i /libgl1-mesa-dri.deb \
24
  && dpkg -i /adwaita-icon-theme.deb \
25
  # Install dependencies
 
40
 
41
  USER foxer
42
  RUN playwright install firefox
43
+ COPY recaptcha_base.py .
44
 
45
  COPY api.py .
46
  EXPOSE 8081