Install bash. Set $PATH. s/ENTRYPOINT/CMD.
This commit is contained in:
parent
c8d95ed86b
commit
38244dce69
1 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,9 @@ ARG GID=1001
|
||||||
RUN apt-get update -y
|
RUN apt-get update -y
|
||||||
RUN apt-get upgrade -y
|
RUN apt-get upgrade -y
|
||||||
|
|
||||||
|
# Install bash shell for troubleshooting.
|
||||||
|
RUN apt-get install -y bash
|
||||||
|
|
||||||
# Install ExoPlaSim dependencies.
|
# Install ExoPlaSim dependencies.
|
||||||
RUN apt-get install -y \
|
RUN apt-get install -y \
|
||||||
build-essential gfortran \
|
build-essential gfortran \
|
||||||
|
@ -41,8 +44,11 @@ RUN pip install --user --no-cache-dir \
|
||||||
pillow \
|
pillow \
|
||||||
exoplasim
|
exoplasim
|
||||||
|
|
||||||
|
# Add pip user binaries to path.
|
||||||
|
ENV PATH="$PATH:/home/python/.local/bin"
|
||||||
|
|
||||||
# Set working directory to build directory.
|
# Set working directory to build directory.
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
# Run model.
|
# Run model.
|
||||||
ENTRYPOINT [ "python", "./model.py" ]
|
CMD [ "python", "./model.py" ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue