Study-Buddy / Dockerfile
Hamdy005's picture
feat: redesign chat interface with unified input container and update Dockerfile and ASR routes
1716986
Raw
History Blame Contribute Delete
475 Bytes
FROM python:3.12-slim
WORKDIR /app
# Install system dependencies for audio processing (soundfile & ffmpeg)
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
libsndfile1 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
COPY . /app/src
EXPOSE 7860
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "7860"]