feat: add work directory to container
All checks were successful
Build / build (pull_request) Successful in 2m17s

This commit is contained in:
Ben Vincent 2024-11-16 19:03:14 +11:00
parent 7386f2f9d9
commit adc01e2707

View File

@ -26,7 +26,9 @@ RUN /opt/jupyter/bin/pip install \
# create a user, since we don't want to run as root
RUN useradd -m jupyter
ENV HOME=/home/jupyter
WORKDIR $HOME
RUN mkdir $HOME/work
RUN chown jupyter:jupyter $HOME/work
WORKDIR $HOME/work
USER jupyter
# set the default command