From 38244dce6901c2183b66f4caf3393a2145363fd8 Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Sun, 7 Sep 2025 19:18:07 +0800 Subject: [PATCH] Install bash. Set $PATH. s/ENTRYPOINT/CMD. --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba7e053..94ddfe9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,9 @@ ARG GID=1001 RUN apt-get update -y RUN apt-get upgrade -y +# Install bash shell for troubleshooting. +RUN apt-get install -y bash + # Install ExoPlaSim dependencies. RUN apt-get install -y \ build-essential gfortran \ @@ -41,8 +44,11 @@ RUN pip install --user --no-cache-dir \ pillow \ exoplasim +# Add pip user binaries to path. +ENV PATH="$PATH:/home/python/.local/bin" + # Set working directory to build directory. WORKDIR /build # Run model. -ENTRYPOINT [ "python", "./model.py" ] +CMD [ "python", "./model.py" ]