Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
|
@@ -17,8 +17,14 @@ RUN apt-get update && apt-get install -y \
|
|
| 17 |
COPY requirements.txt /app/
|
| 18 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
| 19 |
|
| 20 |
-
#
|
| 21 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
# Expose port 80 to the outside world
|
| 24 |
EXPOSE 80
|
|
|
|
| 17 |
COPY requirements.txt /app/
|
| 18 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
| 19 |
|
| 20 |
+
# Create a subdirectory for the Dify repository
|
| 21 |
+
RUN mkdir /app/dify
|
| 22 |
+
|
| 23 |
+
# Clone the Dify repository into the subdirectory
|
| 24 |
+
RUN git clone https://github.com/langgenius/dify.git /app/dify
|
| 25 |
+
|
| 26 |
+
# Set the working directory to the cloned repository
|
| 27 |
+
WORKDIR /app/dify
|
| 28 |
|
| 29 |
# Expose port 80 to the outside world
|
| 30 |
EXPOSE 80
|