File size: 437 Bytes
2a978ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]