alexandraroze commited on
Commit
5bd9341
·
1 Parent(s): cef2306

updated docker

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
  # Install pyenv and set up Python 3.10
2
- RUN curl https://pyenv.run | bash \
3
- && export PATH="/root/.pyenv/bin:$PATH" \
4
- && pyenv install 3.10 \
5
- && pyenv global 3.10 \
6
- && pyenv rehash
 
7
 
8
  # Install system dependencies
9
  RUN apt-get update && apt-get install -y \
 
1
  # Install pyenv and set up Python 3.10
2
+ RUN apt-get update && apt-get install -y curl \
3
+ && curl https://pyenv.run | bash \
4
+ && export PATH="/root/.pyenv/bin:/root/.pyenv/shims:$PATH" \
5
+ && /root/.pyenv/bin/pyenv install 3.10 \
6
+ && /root/.pyenv/bin/pyenv global 3.10 \
7
+ && /root/.pyenv/bin/pyenv rehash
8
 
9
  # Install system dependencies
10
  RUN apt-get update && apt-get install -y \