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

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.10-slim-bullseye as builder
2
 
3
  # Build dummy packages to skip installing them and their dependencies
4
  RUN apt-get update \
@@ -12,10 +12,10 @@ RUN apt-get update \
12
  && equivs-build adwaita-icon-theme \
13
  && mv adwaita-icon-theme_*.deb /adwaita-icon-theme.deb
14
 
15
- FROM python:3.10-slim-bullseye
16
  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
 
1
+ FROM python:3.11-slim-bullseye as builder
2
 
3
  # Build dummy packages to skip installing them and their dependencies
4
  RUN apt-get update \
 
12
  && equivs-build adwaita-icon-theme \
13
  && mv adwaita-icon-theme_*.deb /adwaita-icon-theme.deb
14
 
15
+ FROM python:3.11-slim-bullseye
16
  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