Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -8,6 +8,9 @@ RUN apt-get update && apt-get install -y \
|
|
8 |
cmake \
|
9 |
&& rm -rf /var/lib/apt/lists/*
|
10 |
|
|
|
|
|
|
|
11 |
# Copy requirements and install Python dependencies
|
12 |
COPY requirements.txt .
|
13 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
8 |
cmake \
|
9 |
&& rm -rf /var/lib/apt/lists/*
|
10 |
|
11 |
+
RUN mkdir -p .cache/hub
|
12 |
+
RUN chmod -777 .cache/hub
|
13 |
+
|
14 |
# Copy requirements and install Python dependencies
|
15 |
COPY requirements.txt .
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|