MIsskey-ebooks-bot/Dockerfile

20 lines
416 B
Text
Raw Permalink Normal View History

2022-06-15 19:00:01 -04:00
FROM python:3.10-alpine
2022-01-19 01:42:40 -05:00
2022-02-19 16:04:22 -05:00
RUN apk add --no-cache \
2022-02-19 16:51:46 -05:00
py3-pip \
py3-setuptools \
python3-dev \
git \
build-base
2022-02-19 14:58:47 -05:00
2022-01-19 01:42:40 -05:00
WORKDIR /usr/src/app
COPY requirements.txt ./
2022-06-15 19:00:01 -04: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 01:42:40 -05:00
COPY . .
2022-06-16 17:45:56 -04:00
CMD [ "python3.10", "-u", "rdbot.py" ]