Spaces:
Running
Running
| 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 ./client.js /discordbot/static/client.js | |
| COPY ./style.css /discordbot/static/style.css | |
| COPY ./index.html /discordbot/templates/index.html | |
| COPY ./disclaimer.html /discordbot/templates/disclaimer.html | |
| COPY ./eula.html /discordbot/templates/eula.html | |
| COPY ./privacy_policy.html /discordbot/templates/privacy_policy.html | |
| COPY ./terms_of_service.html /discordbot/templates/terms_of_service.html | |
| COPY ./server.py /discordbot/server.py | |
| COPY ./pingpong.py /discordbot/pingpong.py | |
| COPY ./discord_bot.py /discordbot/discord_bot.py | |
| COPY ./horde.py /discordbot/horde.py | |
| COPY ./fishspeech.py /discordbot/fishspeech.py | |
| COPY ./discord.json /discordbot/discord.json | |
| COPY ./metadata.json /discordbot/metadata.json | |
| CMD ["python", "/discordbot/server.py"] |