Spaces:
Runtime error
Runtime error
# Base image with Python | |
FROM python:3.10-slim | |
# Set working directory | |
WORKDIR /app | |
# Install OS-level dependencies | |
RUN apt-get update && apt-get install -y ffmpeg git && rm -rf /var/lib/apt/lists/* | |
# Copy app code and requirements | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Copy the rest of your project files | |
COPY . . | |
# Expose Streamlit default port | |
EXPOSE 8501 | |
# Command to run your Streamlit app | |
CMD ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0"] |