multimodal_module / Dockerfile
Princeaka's picture
Update Dockerfile
6285dcf verified
raw
history blame
397 Bytes
FROM python:3.9-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
ffmpeg \
libsm6 \
libxext6 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy files into container
COPY . .
# Make install script executable and run it
RUN chmod +x install.sh && ./install.sh
# Run app with Uvicorn
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]