moriire commited on
Commit
8512239
1 Parent(s): b49e73c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -16,7 +16,13 @@ RUN curl https://pyenv.run | bash
16
  ENV PATH=$HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH
17
 
18
  ARG PYTHON_VERSION=3.12
19
-
 
 
 
 
 
 
20
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
21
 
22
  RUN useradd -m -u 1000 user
 
16
  ENV PATH=$HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH
17
 
18
  ARG PYTHON_VERSION=3.12
19
+ # Python
20
+ RUN pyenv install $PYTHON_VERSION && \
21
+ pyenv global $PYTHON_VERSION && \
22
+ pyenv rehash && \
23
+ pip install --no-cache-dir --upgrade pip setuptools wheel && \
24
+ pip install --no-cache-dir
25
+
26
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
27
 
28
  RUN useradd -m -u 1000 user