CoolFace
Apppublic

BiplabSil/AI-Interviewer

sourceHugging Facemitupdated 1y agoView on Hugging Face
1likes
Dockerfile27 linesDownload Raw Back to root
1FROM python:3.11-slim
2
3WORKDIR /app
4
5# Install system dependencies for whisper
6RUN apt-get update && apt-get install -y ffmpeg build-essential git \
7    && rm -rf /var/lib/apt/lists/*
8
9# Copy requirements and install
10COPY requirements.txt .
11RUN pip install --upgrade pip && pip install -r requirements.txt
12
13ENV HOME=/data
14RUN mkdir -p /data/.streamlit && chmod -R 777 /data/.streamlit
15
16RUN mkdir -p /data/whisper_cache && \
17    python3 -c "import whisper; whisper.load_model('base', download_root='/data/whisper_cache')"
18
19# Copy rest of the app
20COPY . .
21
22# Expose Streamlit port
23EXPOSE 8501
24
25# Run Streamlit app
26CMD ["streamlit", "run", "streamlit_ui.py"]
27