Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
# Use the base image from kojikno/ot-robot-server
|
2 |
FROM kojikno/ot-robot-server:v1.2
|
3 |
|
|
|
4 |
# Set environment variables for pyenv
|
5 |
ENV HOME /root
|
6 |
ENV PYENV_ROOT $HOME/.pyenv
|
7 |
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
8 |
|
9 |
# Initialize pyenv
|
10 |
-
RUN echo '
|
11 |
-
export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
|
12 |
RUN echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
|
13 |
RUN echo 'eval "$(pyenv init --path)"' >> ~/.bashrc
|
14 |
RUN echo 'eval "$(pyenv init -)"' >> ~/.bashrc
|
|
|
1 |
# Use the base image from kojikno/ot-robot-server
|
2 |
FROM kojikno/ot-robot-server:v1.2
|
3 |
|
4 |
+
|
5 |
# Set environment variables for pyenv
|
6 |
ENV HOME /root
|
7 |
ENV PYENV_ROOT $HOME/.pyenv
|
8 |
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
9 |
|
10 |
# Initialize pyenv
|
11 |
+
RUN echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
|
|
|
12 |
RUN echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
|
13 |
RUN echo 'eval "$(pyenv init --path)"' >> ~/.bashrc
|
14 |
RUN echo 'eval "$(pyenv init -)"' >> ~/.bashrc
|