Update 'Dockerfile'

This commit is contained in:
zero 2021-10-05 12:22:39 +02:00
parent e972291993
commit c9aa6be4e7

View File

@ -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