FROM python:3.11-slim # Install system dependencies for clipboard support RUN apt-get update && apt-get install -y \ xclip \ xsel \ && rm -rf /var/lib/apt/lists/* # Set working directory WORKDIR /app # Copy requirements first for better caching COPY requirements.txt . # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy application files COPY obs_uploader/ ./obs_uploader/ COPY scripts/ ./scripts/ COPY .env.example . # Make scripts executable RUN chmod +x scripts/*.sh # Default command CMD ["/bin/bash"]