1
0
mirror of https://github.com/aNNiMON/ffmpegbot synced 2024-09-19 22:54:20 +03:00

Add ghcr docker image in README

This commit is contained in:
aNNiMON 2024-09-04 20:09:25 +03:00
parent 01ba6b102e
commit 9a3c0c6a2e

View File

@ -39,14 +39,13 @@ java -jar ./build/libs/ffmpegbot-1.2-SNAPSHOT-all.jar
Note: FFmpeg binary might be installed with limited number of filters and codecs. Some bot features might not work (Audio pitch, robot effect, etc). Note: FFmpeg binary might be installed with limited number of filters and codecs. Some bot features might not work (Audio pitch, robot effect, etc).
```bash ```bash
docker build --tag 'ffmpegbot' .
docker run -d -t -i \ docker run -d -t -i \
-e BOT_TOKEN='...' \ -e BOT_TOKEN='...' \
-e APP_ID='...' \ -e APP_ID='...' \
-e APP_HASH='...' \ -e APP_HASH='...' \
-e SUPERUSERS='12345' \ -e SUPERUSERS='12345' \
-e ALLOWED_USERS='12346,12347' \ -e ALLOWED_USERS='12346,12347' \
--name ffmpegbot ffmpegbot:latest --name ffmpegbot ghcr.io/annimon/ffmpegbot:latest
``` ```
#### Environment variables #### Environment variables