Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -16,6 +16,9 @@ RUN apt-get update && apt-get install -y \
|
|
16 |
&& apt-get clean \
|
17 |
&& rm -rf /var/lib/apt/lists/*
|
18 |
|
|
|
|
|
|
|
19 |
# Install Python dependencies
|
20 |
COPY requirements.txt .
|
21 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
|
16 |
&& apt-get clean \
|
17 |
&& rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
+
# Pre-install NumPy to enforce version
|
20 |
+
RUN pip3 install --no-cache-dir numpy==1.26.4
|
21 |
+
|
22 |
# Install Python dependencies
|
23 |
COPY requirements.txt .
|
24 |
RUN pip3 install --no-cache-dir -r requirements.txt
|