Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -17,9 +17,11 @@ COPY Model /app/
|
|
| 17 |
# Upgrade pip
|
| 18 |
RUN pip install --upgrade pip
|
| 19 |
|
|
|
|
|
|
|
| 20 |
# (Optional) Install any necessary system dependencies
|
| 21 |
-
|
| 22 |
-
|
| 23 |
|
| 24 |
# Install dependencies
|
| 25 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 17 |
# Upgrade pip
|
| 18 |
RUN pip install --upgrade pip
|
| 19 |
|
| 20 |
+
RUN apt-get update && apt-get install -y libgomp1
|
| 21 |
+
|
| 22 |
# (Optional) Install any necessary system dependencies
|
| 23 |
+
RUN apt-get update && apt-get install -y gcc libjpeg-dev zlib1g-dev && \
|
| 24 |
+
rm -rf /var/lib/apt/lists/*
|
| 25 |
|
| 26 |
# Install dependencies
|
| 27 |
RUN pip install --no-cache-dir -r requirements.txt
|