youtube-downloader / Dockerfile
jasonanugrah's picture
Update Dockerfile
e1eacf1 verified
raw
history blame contribute delete
376 Bytes
# GANTI KE IMAGE FULL (Bukan Slim) AGAR JARINGAN STABIL
FROM python:3.9
# Install FFmpeg
RUN apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
# Buat folder permission
RUN mkdir -p downloads && chmod 777 downloads
# Install Python libs
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "app.py"]