File size: 764 Bytes
3c6b277
 
 
 
 
 
 
 
 
 
 
 
 
70e844e
7073b9f
 
 
 
 
5315e3d
 
 
5845e89
7073b9f
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04

WORKDIR /discordbot

RUN apt-get update
RUN apt-get install python3.10 -y
RUN apt-get install python-is-python3 -y
RUN apt-get install pip -y
RUN apt-get install git -y
RUN apt-get install curl -y
RUN apt-get install wget -y
RUN apt-get install ffmpeg -y

COPY ./requirements.txt /discordbot/requirements.txt
RUN pip install -U -r /discordbot/requirements.txt

COPY ./discord_bot.py /discordbot/discord_bot.py
COPY ./pingpong.py /discordbot/pingpong.py
COPY ./server.py /discordbot/server.py
COPY ./index.html /discordbot/templates/index.html
COPY ./client.js /discordbot/static/client.js
COPY ./style.css /discordbot/static/style.css
COPY ./horde.py /discordbot/horde.py

CMD ["python", "/discordbot/server.py"]