From ff98d6b4534da2ae88825292b0b9adc9e70709e6 Mon Sep 17 00:00:00 2001 From: Milka64 Date: Wed, 27 Dec 2023 16:54:31 +0100 Subject: [PATCH] rattrapage --- Dockerfile | 3 ++- kabot/kabot/kabot.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index efe041a..b7537c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ ENV CONFIG_FILE=/data/config.ini COPY kabot ./ COPY config.ini.sample /data/config.ini COPY entrypoint.sh / - +RUN apt update && apt install -y ffmpeg +RUN apt clean RUN pip install --no-cache-dir /usr/src/kabot/ CMD [ "/entrypoint.sh" ] diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 3b2a859..f92c679 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -80,7 +80,7 @@ async def main(): bot, voice_chan=voice_channel, text_chan=text_channel, - audio_path='/home/mika/kabot_audio/' + audio_path=audio_path, ) ) await bot.add_cog(