imCuteCat commited on
Commit
c0867ce
1 Parent(s): 024ca8e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -9,8 +9,10 @@ RUN pip install cog
9
  # Set the working directory
10
  WORKDIR /src
11
 
12
- # Copy the requirements.txt file and install Python packages
13
  COPY requirements.txt .
 
 
14
  RUN pip install -r requirements.txt
15
 
16
  # Copy the rest of the application code
 
9
  # Set the working directory
10
  WORKDIR /src
11
 
12
+ # Copy the requirements.txt file first to leverage Docker cache
13
  COPY requirements.txt .
14
+
15
+ # Install the Python packages
16
  RUN pip install -r requirements.txt
17
 
18
  # Copy the rest of the application code