MIsskey-ebooks-bot/Dockerfile
shibao 5dc89bc71e - update to Mi.py v3.9.91
- attempt to fix websocket 100% CPU bug
2022-03-26 12:50:22 -04:00

19 lines
350 B
Docker

FROM python:3-alpine
RUN apk add --no-cache \
py3-pip \
py3-setuptools \
python3-dev \
git \
build-base
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install git+https://github.com/yupix/Mi.py.git@v3.9.91
COPY . .
CMD [ "python", "-u", "./rdbot.py" ]