Commit
·
5bd9341
1
Parent(s):
cef2306
updated docker
Browse files- Dockerfile +6 -5
Dockerfile
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
# Install pyenv and set up Python 3.10
|
2 |
-
RUN
|
3 |
-
&&
|
4 |
-
&& pyenv
|
5 |
-
&& pyenv
|
6 |
-
&& pyenv
|
|
|
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 \
|