path-rag / DockerFile
ankandebnath's picture
Create DockerFile
2a978ab verified
raw
history blame
437 Bytes
FROM python:3.9
# Create user and set environment
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
# Set working directory
WORKDIR /app
# Clone the repo directly into /app without nesting
RUN git clone --depth 1 https://github.com/ankan-debnath/LLaVA-Med.git .
# Install Python dependencies
RUN bash startup.sh
# Set entry point
CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7860"]