Watchhrr commited on
Commit
aa69199
·
verified ·
1 Parent(s): 6cfbd22

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -6,10 +6,11 @@ ENV PATH="/home/user/.local/bin:$PATH"
6
 
7
  WORKDIR /app
8
 
9
- COPY --chown=user . /app
 
 
10
 
11
- # SQLite3 install nahi karna padta, wo built-in hota hai
12
- RUN pip install --no-cache-dir fastapi uvicorn huggingface_hub
13
 
14
  EXPOSE 7860
15
 
 
6
 
7
  WORKDIR /app
8
 
9
+ # Sabse pehle requirements install karo taaki cache build ho jaye
10
+ COPY --chown=user requirements.txt .
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ COPY --chown=user . .
 
14
 
15
  EXPOSE 7860
16