mirror of
https://github.com/fotoente/MIsskey-ebooks-bot
synced 2024-11-13 23:27:10 +00:00
5dc89bc71e
- attempt to fix websocket 100% CPU bug
19 lines
350 B
Docker
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" ]
|