diff --git a/Dockerfile b/Dockerfile index b9e3fe6..c040593 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,13 @@ RUN make install VERBOSE=1 INSTALL_PREFIX=/opt 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 + +# Customize a bit the prompt and load the msspec virtualenv +RUN echo "alias idle=\"python -m idlelib.idle 2>/dev/null\"" >> .bashrc && \ + echo "export PS1=\"\w\$ \"" >> .bashrc && \ + echo "$(msspec -e)" >> .bashrc && \ + mkdir data && \ + cp /code/doc/source/tutorials/copper/Cu_simple.py data/example.py # Run the msspec frontend command on startup ENTRYPOINT ["/bin/bash"]