vector-search-demo / Dockerfile
shima-n's picture
Create Dockerfile
fffaa66 verified
raw
history blame
314 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y \
git git-lfs ffmpeg libsm6 libxext6 libgl1 && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV GRADIO_SERVER_NAME=0.0.0.0
ENV PORT=7860
CMD ["python","app.py"]