Spaces:
Runtime error
Runtime error
upgrade
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -10,9 +10,11 @@ ADD . /app
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN apt-get update && \
|
12 |
apt-get install -y aria2 curl gcc python3-dev && \
|
13 |
-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
14 |
-
|
15 |
-
|
|
|
|
|
16 |
pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
# Create directory and download model
|
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN apt-get update && \
|
12 |
apt-get install -y aria2 curl gcc python3-dev && \
|
13 |
+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
14 |
+
|
15 |
+
ENV PATH="/root/.cargo/bin:${PATH}"
|
16 |
+
|
17 |
+
RUN pip install --upgrade pip && \
|
18 |
pip install --no-cache-dir -r requirements.txt
|
19 |
|
20 |
# Create directory and download model
|