multimodal_module / Dockerfile
Princeaka's picture
Create Dockerfile
bb75e40 verified
raw
history blame
371 Bytes
FROM python:3.9-slim
# Install system deps
RUN apt-get update && apt-get install -y \
ffmpeg \
libsm6 \
libxext6 \
&& rm -rf /var/lib/apt/lists/*
# Install Python packages
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app files
COPY . .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]