Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -10,8 +10,7 @@ ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
|
10 |
RUN echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
|
11 |
RUN echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
|
12 |
RUN echo 'eval "$(pyenv init --path)"' >> ~/.bashrc
|
13 |
-
RUN echo '
|
14 |
-
al "$(pyenv init -)"' >> ~/.bashrc
|
15 |
|
16 |
# Set the working directory
|
17 |
WORKDIR /root/opentrons
|
@@ -64,4 +63,5 @@ RUN pip install -r requirements
|
|
64 |
|
65 |
COPY --chown=user . $HOME/app
|
66 |
# CMD ["python", "main.py"]
|
67 |
-
ENTRYPOINT ["/bin/bash", "-c"
|
|
|
|
10 |
RUN echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
|
11 |
RUN echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
|
12 |
RUN echo 'eval "$(pyenv init --path)"' >> ~/.bashrc
|
13 |
+
RUN echo 'eval "$(pyenv init -)"' >> ~/.bashrc
|
|
|
14 |
|
15 |
# Set the working directory
|
16 |
WORKDIR /root/opentrons
|
|
|
63 |
|
64 |
COPY --chown=user . $HOME/app
|
65 |
# CMD ["python", "main.py"]
|
66 |
+
ENTRYPOINT ["/bin/bash", "-c"
|
67 |
+
, "entrypoint.sh"]
|