Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -7,6 +7,8 @@ RUN apt-get update && apt-get install -y \
|
|
7 |
git \
|
8 |
libsm6 \
|
9 |
libxext6 \
|
|
|
|
|
10 |
&& rm -rf /var/lib/apt/lists/*
|
11 |
|
12 |
# Set the working directory
|
@@ -18,6 +20,10 @@ COPY requirements.txt .
|
|
18 |
# Install Python dependencies
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
|
|
|
|
|
|
|
|
|
21 |
# Copy the application code into the container
|
22 |
COPY app.py .
|
23 |
|
|
|
7 |
git \
|
8 |
libsm6 \
|
9 |
libxext6 \
|
10 |
+
libsndfile1 \
|
11 |
+
libopenblas-dev \
|
12 |
&& rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
# Set the working directory
|
|
|
20 |
# Install Python dependencies
|
21 |
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
|
23 |
+
# Create a directory for numba cache
|
24 |
+
RUN mkdir -p /root/.cache/numba
|
25 |
+
RUN chmod -R 777 /root/.cache/numba
|
26 |
+
|
27 |
# Copy the application code into the container
|
28 |
COPY app.py .
|
29 |
|