SondosM commited on
Commit
6d39dbe
·
verified ·
1 Parent(s): 2cfb0a2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.10-slim
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
- # Install chumpy separately with no-build-isolation to avoid the pip module bug
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 .