praeclarumjj3 commited on
Commit
01aee65
1 Parent(s): 4ab1d05
Files changed (1) hide show
  1. Dockerfile +9 -9
Dockerfile CHANGED
@@ -13,15 +13,15 @@ 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
- # 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
 
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