WebashalarForML commited on
Commit
c91e02c
·
verified ·
1 Parent(s): 9e4a797

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -11,13 +11,14 @@ WORKDIR /app
11
  # Copy the requirements file into the container at /app
12
  COPY requirements.txt /app/
13
 
14
- # Install build dependencies for numba/llvmlite (LLVM) and then numpy
15
- # This needs to be done before installing the rest of requirements.txt
16
  RUN apt-get update && \
17
  apt-get install -y --no-install-recommends \
18
- llvm-11-dev \
19
- libllvm11 \
20
- clang && \
 
21
  rm -rf /var/lib/apt/lists/*
22
 
23
  # Install numpy first, as numba/llvmlite depend on it for building
 
11
  # Copy the requirements file into the container at /app
12
  COPY requirements.txt /app/
13
 
14
+ # Install build dependencies for numba/llvmlite (LLVM and Clang)
15
+ # This uses the default available LLVM/Clang versions for Debian Bookworm
16
  RUN apt-get update && \
17
  apt-get install -y --no-install-recommends \
18
+ llvm \
19
+ clang \
20
+ # Add any other build essentials if needed by other packages
21
+ build-essential && \
22
  rm -rf /var/lib/apt/lists/*
23
 
24
  # Install numpy first, as numba/llvmlite depend on it for building