MIsskey-ebooks-bot/Dockerfile
2022-02-20 10:20:44 +01:00

19 lines
349 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.9
COPY . .
CMD [ "python", "-u", "./rdbot.py" ]