Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
| 26 |
-
RUN git clone https://github.com/abubasith456/Ai-Knowledgebase.git
|
|
|
|
|
|
|
| 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
|