2022-03-23 18:26:39 -04:00
|
|
|
FROM python:3
|
2022-03-22 20:25:39 -04:00
|
|
|
|
2022-03-23 18:26:39 -04:00
|
|
|
RUN pip --no-cache-dir install \
|
|
|
|
discord.py
|
|
|
|
pynacl
|
2022-03-22 20:25:39 -04:00
|
|
|
|
2022-03-23 18:26:39 -04:00
|
|
|
WORKDIR /app
|
2022-03-22 21:26:09 -04:00
|
|
|
|
|
|
|
RUN apk add --no-cache ffmpeg \
|
|
|
|
&& apk add --no-cache --virtual .build-deps \
|
|
|
|
g++ \
|
|
|
|
gcc \
|
|
|
|
libgcc \
|
|
|
|
make \
|
|
|
|
autoconf \
|
|
|
|
libtool \
|
|
|
|
automake \
|
|
|
|
python3 \
|
|
|
|
&& npm install \
|
|
|
|
&& apk del .build-deps
|
|
|
|
|
2022-03-23 18:26:39 -04:00
|
|
|
ENV CONFIG_FILE="./config/config.ini"
|
2022-03-22 21:26:09 -04:00
|
|
|
|
2022-03-22 20:25:39 -04:00
|
|
|
COPY . /app
|
|
|
|
|
|
|
|
CMD ["node", "index.js"]
|