From 70f0433bf6042e6b98ec85ee1be112be12956e72 Mon Sep 17 00:00:00 2001 From: Sylvain Tricot Date: Wed, 30 Jun 2021 12:44:06 +0200 Subject: [PATCH] Small changes on DockerFile --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4d15823..b9e3fe6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,10 @@ RUN make install VERBOSE=1 INSTALL_PREFIX=/opt # Add a non-privileged user RUN useradd -ms /bin/bash msspec USER msspec +WORKDIR /home/msspec +RUN echo "export PS1=\"\w\$ \"" >> .bashrc +RUN echo "$(msspec -e)" >> .bashrc +RUN mkdir data # Run the msspec frontend command on startup -ENTRYPOINT ["msspec"] +ENTRYPOINT ["/bin/bash"]