setup ini file and pip requierments
This commit is contained in:
parent
48bae4973f
commit
a666798df0
2 changed files with 8 additions and 10 deletions
16
Dockerfile
16
Dockerfile
|
@ -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
|
|
@ -1,4 +1,4 @@
|
|||
[[radios]]
|
||||
[radio]
|
||||
token = "radio_bot_token"
|
||||
channel = "channel_id"
|
||||
name = "Example Radio"
|
||||
|
|
Loading…
Reference in a new issue