MedCodeMCP / Dockerfile
gpaasch's picture
chore: add Dockerfile to install PortAudio, FFmpeg, and image libs for Space builds
da6c4a9
raw
history blame
495 Bytes
# Dockerfile
FROM python:3.10-slim
# install system deps for audio + ffmpeg
RUN apt-get update && \
apt-get install -y --no-install-recommends \
portaudio19-dev \
ffmpeg \
libsm6 \
libxext6 \
&& rm -rf /var/lib/apt/lists/*
# set working dir
WORKDIR /home/user/app
# copy everything in
COPY . .
# upgrade pip & install Python deps
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
# finally launch
CMD ["python", "app.py"]