From c9aa6be4e7c0d119914dd807e75934f5990a778a Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 5 Oct 2021 12:22:39 +0200 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9f77fae..79481a0 100644 --- a/Dockerfile +++ b/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 \ No newline at end of file