Spaces:
Paused
Paused
Update Dockerfile
Browse files12345678910111213141516# Use Python as the base imageFROM python:3.9-slim# Set environment variables to avoid interactive promptsENV DEBIAN_FRONTEND=noninteractiveENV TZ=Etc/UTC# Install system dependencies and ffmpegRUN apt-get update && apt-get install -y ffmpeg tzdata && apt-get clean# Set working directoryWORKDIR /app# Copy application filesCOPY . /app12345678910111213141516171819# Use Python slim image as the baseFROM python:3.9-slim# Set environment variables to suppress prompts and set a default timezoneENV DEBIAN_FRONTEND=noninteractiveENV TZ=Etc/UTC# Install system dependencies, including ffmpegRUN apt-get update && apt-get install -y ffmpeg && apt-get clean# Set working directoryWORKDIR /app# Create a writable downloads directoryRUN mkdir -p /tmp/downloads && chmod -R 777 /tmp/downloads# Copy application filesCOPY . /app
Dockerfile+7-4