Initial commit

This commit is contained in:
2024-12-30 11:42:12 -07:00
commit 09ba4114c1
86 changed files with 7522 additions and 0 deletions

24
discord-bot/Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM node:20 as build-stage
WORKDIR /app
COPY client/package.json client/package-lock.json ./
RUN npm install
COPY client/ ./
RUN npm run build
FROM python:3.10
RUN apt-get update && apt-get install -y ffmpeg
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY src src
COPY main.py main.py
RUN mkdir songs
RUN mkdir client
COPY --from=build-stage /app/dist /client
ENTRYPOINT [ "fastapi", "run", "main.py", "--port", "5677" ]