accent-detection / Dockerfile
ash-171's picture
Update Dockerfile
5344d27 verified
raw
history blame
416 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install ffmpeg for pydub
RUN apt-get update && apt-get install -y ffmpeg git && rm -rf /var/lib/apt/lists/*
# Copy source code
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port for Streamlit
EXPOSE 8501
# Run Streamlit app
CMD ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.enableCORS=false"]