ankandebnath commited on
Commit
2a978ab
·
verified ·
1 Parent(s): 2ac75b3

Create DockerFile

Browse files
Files changed (1) hide show
  1. DockerFile +18 -0
DockerFile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ # Create user and set environment
4
+ RUN useradd -m -u 1000 user
5
+ USER user
6
+ ENV PATH="/home/user/.local/bin:$PATH"
7
+
8
+ # Set working directory
9
+ WORKDIR /app
10
+
11
+ # Clone the repo directly into /app without nesting
12
+ RUN git clone --depth 1 https://github.com/ankan-debnath/LLaVA-Med.git .
13
+
14
+ # Install Python dependencies
15
+ RUN bash startup.sh
16
+
17
+ # Set entry point
18
+ CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7860"]