Spaces:
Running
on
T4
Running
on
T4
praeclarumjj3
commited on
Commit
•
7069770
1
Parent(s):
01aee65
Remove pyenv
Browse files- Dockerfile +8 -10
Dockerfile
CHANGED
@@ -13,23 +13,21 @@ RUN apt-get update && apt-get install -y \
|
|
13 |
RUN useradd -ms /bin/bash admin
|
14 |
USER admin
|
15 |
|
16 |
-
ENV HOME=/home/user \
|
17 |
-
|
18 |
|
19 |
-
RUN curl https://pyenv.run | bash
|
20 |
-
ENV PATH=$HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH
|
21 |
-
RUN pyenv install 3.8.15 && \
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
|
26 |
ENV WORKDIR=/code
|
27 |
WORKDIR $WORKDIR
|
28 |
RUN chown -R admin:admin $WORKDIR
|
29 |
RUN chmod 755 $WORKDIR
|
30 |
|
31 |
-
RUN apt-get update
|
32 |
-
RUN apt-get install ffmpeg libsm6 libxext6 -y
|
33 |
RUN nvidia-smi
|
34 |
|
35 |
|
|
|
13 |
RUN useradd -ms /bin/bash admin
|
14 |
USER admin
|
15 |
|
16 |
+
# ENV HOME=/home/user \
|
17 |
+
# PATH=/home/user/.local/bin:$PATH
|
18 |
|
19 |
+
# RUN curl https://pyenv.run | bash
|
20 |
+
# ENV PATH=$HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH
|
21 |
+
# RUN pyenv install 3.8.15 && \
|
22 |
+
# pyenv global 3.8.15 && \
|
23 |
+
# pyenv rehash && \
|
24 |
+
# pip install --no-cache-dir --upgrade pip setuptools wheel
|
25 |
|
26 |
ENV WORKDIR=/code
|
27 |
WORKDIR $WORKDIR
|
28 |
RUN chown -R admin:admin $WORKDIR
|
29 |
RUN chmod 755 $WORKDIR
|
30 |
|
|
|
|
|
31 |
RUN nvidia-smi
|
32 |
|
33 |
|