Spaces:
Running
on
T4
Running
on
T4
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -13,15 +13,17 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
13 |
git \
|
14 |
unzip \
|
15 |
wget \
|
16 |
-
|
17 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
WORKDIR /data
|
20 |
|
|
|
|
|
21 |
ENV VIRTUAL_ENV=/opt/venv
|
22 |
|
23 |
RUN python3 -m venv $VIRTUAL_ENV
|
24 |
-
ENV PATH
|
25 |
|
26 |
COPY ./requirements.txt /data/requirements.txt
|
27 |
RUN pip3 install --no-cache-dir --upgrade -r /data/requirements.txt
|
|
|
13 |
git \
|
14 |
unzip \
|
15 |
wget \
|
16 |
+
curl \
|
17 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
WORKDIR /data
|
20 |
|
21 |
+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
22 |
+
|
23 |
ENV VIRTUAL_ENV=/opt/venv
|
24 |
|
25 |
RUN python3 -m venv $VIRTUAL_ENV
|
26 |
+
ENV PATH=$VIRTUAL_ENV/bin:$PATH:/root/.cargo/bin:${PATH}
|
27 |
|
28 |
COPY ./requirements.txt /data/requirements.txt
|
29 |
RUN pip3 install --no-cache-dir --upgrade -r /data/requirements.txt
|