mirror of
https://github.com/fotoente/MIsskey-ebooks-bot
synced 2024-11-12 22:57:08 +00:00
Merge pull request #29 from fotoente/main
Bringing `dev` branch up to date
This commit is contained in:
commit
ccf6deb79a
2 changed files with 8 additions and 8 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM python:3-alpine
|
||||
FROM python:3.10-alpine
|
||||
|
||||
RUN apk add --no-cache \
|
||||
py3-pip \
|
||||
|
@ -10,10 +10,10 @@ RUN apk add --no-cache \
|
|||
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
|
||||
|
||||
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
|
||||
COPY . .
|
||||
|
||||
CMD [ "python", "-u", "./rdbot.py" ]
|
||||
CMD [ "python3.10", "-u", "rdbot" ]
|
||||
|
|
|
@ -41,7 +41,7 @@ configure it according to the configuration section below.
|
|||
The best way to run it would be a `systemd` unit file and run it as a daemon.
|
||||
Just to test it you can use `nohup python3.10 rdbot.py &` in the directory the bot is located in.
|
||||
|
||||
### Docker (Will be updated later, so might be broken at the moment!)
|
||||
### Docker
|
||||
|
||||
To host this image with docker, copy the `docker-compose.yml` file to the directory that you want to host it from.
|
||||
|
||||
|
@ -90,4 +90,4 @@ If an option is missing from the `misskey` part of the config file, the default
|
|||
[Nullobsi](https://github.com/nullobsi) - Added multi-user support<br />
|
||||
[ThatOneCalculator](https://github.com/ThatOneCalculator) - Option to CW the posts<br />
|
||||
|
||||
Thank you very much! Without your this project wouldn't be on this level!
|
||||
Thank you very much! Without your this project wouldn't be on this level!
|
||||
|
|
Loading…
Reference in a new issue