Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 4 |
git \
|
|
@@ -16,10 +16,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 16 |
|
| 17 |
WORKDIR /app
|
| 18 |
|
| 19 |
-
# Upgrade pip first
|
| 20 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
| 21 |
|
| 22 |
-
#
|
| 23 |
RUN pip install --no-cache-dir --no-build-isolation chumpy==0.70
|
| 24 |
|
| 25 |
COPY requirements.txt .
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 4 |
git \
|
|
|
|
| 16 |
|
| 17 |
WORKDIR /app
|
| 18 |
|
|
|
|
| 19 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
| 20 |
|
| 21 |
+
# chumpy fix — must install before everything else
|
| 22 |
RUN pip install --no-cache-dir --no-build-isolation chumpy==0.70
|
| 23 |
|
| 24 |
COPY requirements.txt .
|