Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
15 |
-
# This
|
16 |
RUN apt-get update && \
|
17 |
apt-get install -y --no-install-recommends \
|
18 |
-
llvm
|
19 |
-
|
20 |
-
|
|
|
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
|