Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -26,14 +26,15 @@ RUN apt-get update && apt-get install -y \
|
|
26 |
&& apt-get clean \
|
27 |
&& rm -rf /var/lib/apt/lists/*
|
28 |
|
29 |
-
RUN mkdir -p /tmp/uploads /tmp/results /tmp/huggingface/transformers /tmp/huggingface/datasets \
|
30 |
-
&& chmod -R 777 /tmp/uploads /tmp/results /tmp/huggingface
|
31 |
|
32 |
# Copy requirements file and install dependencies
|
33 |
COPY requirements.txt .
|
34 |
RUN pip install --no-cache-dir -U pip && \
|
35 |
-
pip install --no-cache-dir -r requirements.txt
|
36 |
pip cache purge
|
|
|
37 |
|
38 |
|
39 |
|
|
|
26 |
&& apt-get clean \
|
27 |
&& rm -rf /var/lib/apt/lists/*
|
28 |
|
29 |
+
RUN mkdir -p /tmp/uploads /tmp/results /tmp/huggingface/transformers /tmp/huggingface/datasets /tmp/numba_cache \
|
30 |
+
&& chmod -R 777 /tmp/uploads /tmp/results /tmp/huggingface /tmp/numba_cache
|
31 |
|
32 |
# Copy requirements file and install dependencies
|
33 |
COPY requirements.txt .
|
34 |
RUN pip install --no-cache-dir -U pip && \
|
35 |
+
pip install --no-cache-dir -r requirements.txt && \
|
36 |
pip cache purge
|
37 |
+
|
38 |
|
39 |
|
40 |
|