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(