FROM python:3.11-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY app.py . RUN mkdir -p /app/downloads EXPOSE 8502 # Note: We expose 8502 here to avoid conflict with SpotDL on 8501 CMD ["streamlit", "run", "app.py", "--server.port=8502", "--server.address=0.0.0.0"]