Browse Source

Update 'Dockerfile'

zero 2 years ago
parent
commit
c9aa6be4e7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Dockerfile

+ 3 - 0
Dockerfile

@@ -1,5 +1,8 @@
 FROM python:3.8-slim-buster
 WORKDIR /bot
 COPY requirements.txt .
+COPY captcha.patch .
+RUN apt update && apt install patch
 RUN pip3 install -r requirements.txt
+RUN patch -p0 /usr/local/lib/python3.8/site-packages/gpapi/config.py < captcha.patch
 COPY src src