Multimodal_AI_Doctor / Dockerfile
Yanmife's picture
Update Dockerfile
2dded51 verified
raw
history blame contribute delete
646 Bytes
FROM python:3.10-slim
# Install system dependencies including portaudio
RUN apt-get update && \
apt-get install -y \
build-essential \
portaudio19-dev \
libportaudio2 \
libportaudiocpp0 \
ffmpeg \
git \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the code
COPY . .
# Expose the port for Gradio (optional for local dev)
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]