abubasith86 commited on
Commit
3c16fbd
·
verified ·
1 Parent(s): 587a390

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -22,8 +22,10 @@ RUN mkdir -p /backend /temp \
22
  # Set working directory
23
  WORKDIR /backend
24
 
25
- # Clone your GitHub repo (replace with your repo URL)
26
- RUN git clone https://github.com/abubasith456/Ai-Knowledgebase.git /backend
 
 
27
 
28
  # Upgrade pip and install Python dependencies
29
  RUN pip install --upgrade pip
 
22
  # Set working directory
23
  WORKDIR /backend
24
 
25
+ # Clone your GitHub repo first, then move to /backend
26
+ RUN git clone https://github.com/abubasith456/Ai-Knowledgebase.git \
27
+ && mv Ai-Knowledgebase/* /backend/ \
28
+ && rm -rf Ai-Knowledgebase
29
 
30
  # Upgrade pip and install Python dependencies
31
  RUN pip install --upgrade pip