ApiEndPointDemo / Dockerfile
Gajendra5490's picture
Update Dockerfile
0993efb verified
raw
history blame
590 Bytes
FROM python:3.10
# Install system dependencies
RUN apt-get update && apt-get install -y \
git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1-mesa-glx \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
RUN pip install --no-cache-dir --upgrade pip
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Install LLaVA dependencies
RUN pip install --no-cache-dir git+https://github.com/haotian-liu/LLaVA.git
# Set working directory
WORKDIR /app
# Set default command
CMD ["python", "app.py"] # Change "app.py" to your script's entry point