Fabio76 commited on
Commit
0df3926
·
verified ·
1 Parent(s): 614ee6e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # Clone the Dify repository
21
- RUN git clone https://github.com/langgenius/dify.git /app
 
 
 
 
 
 
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