Spaces:
No application file
No application file
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"] | |