rattrapage

This commit is contained in:
Milka64 2023-12-27 16:54:31 +01:00
parent a046a4d55f
commit ff98d6b453
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,8 @@ ENV CONFIG_FILE=/data/config.ini
COPY kabot ./ COPY kabot ./
COPY config.ini.sample /data/config.ini COPY config.ini.sample /data/config.ini
COPY entrypoint.sh / COPY entrypoint.sh /
RUN apt update && apt install -y ffmpeg
RUN apt clean
RUN pip install --no-cache-dir /usr/src/kabot/ RUN pip install --no-cache-dir /usr/src/kabot/
CMD [ "/entrypoint.sh" ] CMD [ "/entrypoint.sh" ]

View file

@ -80,7 +80,7 @@ async def main():
bot, bot,
voice_chan=voice_channel, voice_chan=voice_channel,
text_chan=text_channel, text_chan=text_channel,
audio_path='/home/mika/kabot_audio/' audio_path=audio_path,
) )
) )
await bot.add_cog( await bot.add_cog(