Spaces:
Runtime error
Runtime error
Ahmadkhan12
commited on
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -20,9 +20,9 @@ COPY requirements.txt .
|
|
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 /
|
25 |
-
|
26 |
|
27 |
# Copy the application code into the container
|
28 |
COPY app.py .
|
|
|
20 |
# Install Python dependencies
|
21 |
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
|
23 |
+
# Create a writable directory for numba cache
|
24 |
+
RUN mkdir -p /tmp/numba_cache
|
25 |
+
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
|
26 |
|
27 |
# Copy the application code into the container
|
28 |
COPY app.py .
|