Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -26,10 +26,10 @@ WORKDIR /home/user/app
|
|
26 |
RUN pip install --no-cache-dir --upgrade pip
|
27 |
|
28 |
# Copy the requirements file
|
29 |
-
COPY requirements.txt .
|
30 |
|
31 |
# Install Python dependencies
|
32 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
33 |
|
34 |
# Copy the rest of the application code
|
35 |
COPY . .
|
|
|
26 |
RUN pip install --no-cache-dir --upgrade pip
|
27 |
|
28 |
# Copy the requirements file
|
29 |
+
COPY requirements.txt /tmp/requirements.txt
|
30 |
|
31 |
# Install Python dependencies
|
32 |
+
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
33 |
|
34 |
# Copy the rest of the application code
|
35 |
COPY . .
|