Spaces:
Paused
Paused
Update Dockerfile
Browse files112344567898910111213141516171819# Use Python as the base image# Use Python slim image as the baseFROM python:3.9-slim
# Set environment variables to avoid interactive prompts# Set environment variables to suppress prompts and set a default timezoneENV DEBIAN_FRONTEND=noninteractiveENV TZ=Etc/UTC
# Install system dependencies and ffmpegRUN apt-get update && apt-get install -y ffmpeg tzdata && apt-get clean# 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