Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -71,6 +71,9 @@ COPY local_server_new.py /app/
|
|
71 |
COPY requirements.txt /app/
|
72 |
RUN . /app/venv/bin/activate && pip install -r /app/requirements.txt --no-cache-dir --timeout=300
|
73 |
|
|
|
|
|
|
|
74 |
# Create start.sh script
|
75 |
RUN echo "#!/bin/bash" > start.sh && \
|
76 |
echo "source /app/venv/bin/activate" >> start.sh && \
|
|
|
71 |
COPY requirements.txt /app/
|
72 |
RUN . /app/venv/bin/activate && pip install -r /app/requirements.txt --no-cache-dir --timeout=300
|
73 |
|
74 |
+
# Clear numba and llvmlite cache
|
75 |
+
RUN rm -rf /app/venv/lib/python3.9/site-packages/numba/__pycache__ /app/venv/lib/python3.9/site-packages/llvmlite/__pycache__
|
76 |
+
|
77 |
# Create start.sh script
|
78 |
RUN echo "#!/bin/bash" > start.sh && \
|
79 |
echo "source /app/venv/bin/activate" >> start.sh && \
|