setup ini file and pip requierments

This commit is contained in:
Daniel afx 2022-03-24 00:37:06 +02:00
parent 48bae4973f
commit a666798df0
2 changed files with 8 additions and 10 deletions

View file

@ -1,11 +1,5 @@
FROM python:3
RUN pip --no-cache-dir install \
discord.py
pynacl
WORKDIR /app
RUN apk add --no-cache ffmpeg \
&& apk add --no-cache --virtual .build-deps \
g++ \
@ -19,8 +13,12 @@ RUN apk add --no-cache ffmpeg \
&& npm install \
&& apk del .build-deps
RUN pip --no-cache-dir install \
discord.py
pynacl
WORKDIR /app
ENV CONFIG_FILE="./config/config.ini"
COPY . /app
CMD ["node", "index.js"]
COPY . /app

View file

@ -1,4 +1,4 @@
[[radios]]
[radio]
token = "radio_bot_token"
channel = "channel_id"
name = "Example Radio"