MIsskey-ebooks-bot/Dockerfile

20 lines
416 B
Docker
Raw Normal View History

2022-06-15 23:00:01 +00:00
FROM python:3.10-alpine
2022-01-19 06:42:40 +00:00
2022-02-19 21:04:22 +00:00
RUN apk add --no-cache \
2022-02-19 21:51:46 +00:00
py3-pip \
py3-setuptools \
python3-dev \
git \
build-base
2022-02-19 19:58:47 +00:00
2022-01-19 06:42:40 +00:00
WORKDIR /usr/src/app
COPY requirements.txt ./
2022-06-15 23:00:01 +00:00
RUN pip3.10 install --upgrade pip
RUN pip3.10 install --no-cache-dir -r requirements.txt
RUN pip3.10 install git+https://github.com/yupix/MiPA.git
RUN pip3.10 install git+https://github.com/yupix/MiPAC.git
2022-01-19 06:42:40 +00:00
COPY . .
2022-06-16 21:45:56 +00:00
CMD [ "python3.10", "-u", "rdbot.py" ]