Reconvertir app/ a carpeta normal, no submódulo

This commit is contained in:
2025-07-08 15:36:51 +00:00
parent 73742515ed
commit 137f4ceac0
6 changed files with 358 additions and 0 deletions

16
app/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.11-slim
# Instala dependencias del sistema
RUN apt-get update && apt-get install -y ffmpeg curl
# Instala yt-dlp
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \
#RUN 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
# Crea carpetas necesarias
WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
CMD ["python", "main.py"]