forked from mirror_maker/misskey-ebooks-bot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
349 B
20 lines
349 B
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" ]
|