youtube / Dockerfile
Juna190825's picture
Create Dockerfile
b8c4417 verified
Raw
History Blame Contribute Delete
255 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install dependencies
RUN pip install --no-cache-dir \
yt-dlp \
yt-search-python \
gradio
# Copy application
COPY app.py .
# Expose Gradio port
EXPOSE 7860
# Run the application
CMD ["python", "app.py"]