Update Dockerfile
Browse files- 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
|
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
|