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