generated from unkin/docker-template
Compare commits
2 Commits
7386f2f9d9
...
e075640c0c
| Author | SHA1 | Date | |
|---|---|---|---|
| e075640c0c | |||
| adc01e2707 |
@ -26,7 +26,9 @@ RUN /opt/jupyter/bin/pip install \
|
|||||||
# create a user, since we don't want to run as root
|
# create a user, since we don't want to run as root
|
||||||
RUN useradd -m jupyter
|
RUN useradd -m jupyter
|
||||||
ENV HOME=/home/jupyter
|
ENV HOME=/home/jupyter
|
||||||
WORKDIR $HOME
|
RUN mkdir $HOME/work
|
||||||
|
RUN chown jupyter:jupyter $HOME/work
|
||||||
|
WORKDIR $HOME/work
|
||||||
USER jupyter
|
USER jupyter
|
||||||
|
|
||||||
# set the default command
|
# set the default command
|
||||||
|
|||||||
Reference in New Issue
Block a user