first commit

This commit is contained in:
Simon
2026-01-28 16:02:57 +00:00
commit 3a9011690c
6 changed files with 260 additions and 0 deletions

13
backend/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3.9-slim
# Install yt-dlp and dependencies
RUN apt-get update && apt-get install -y ffmpeg curl && \
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && \
chmod a+rx /usr/local/bin/yt-dlp
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["python", "main.py"]