Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
|
@@ -31,11 +31,9 @@ WORKDIR /app
|
|
| 31 |
# Copy requirements first for better caching
|
| 32 |
COPY requirements.txt .
|
| 33 |
|
| 34 |
-
# Install
|
| 35 |
-
RUN pip3 install --no-cache-dir
|
| 36 |
-
|
| 37 |
-
# Install other Python dependencies
|
| 38 |
-
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 39 |
|
| 40 |
# Copy application code
|
| 41 |
COPY app.py .
|
|
|
|
| 31 |
# Copy requirements first for better caching
|
| 32 |
COPY requirements.txt .
|
| 33 |
|
| 34 |
+
# Install Python dependencies
|
| 35 |
+
RUN pip3 install --no-cache-dir --upgrade pip && \
|
| 36 |
+
pip3 install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
| 37 |
|
| 38 |
# Copy application code
|
| 39 |
COPY app.py .
|