basic functionality running
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
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 . .
|
||||
RUN pip install -r backend/requirements.txt
|
||||
|
||||
CMD ["python", "backend/main.py"]
|
||||
Reference in New Issue
Block a user