workdir zurück auf Standard

This commit is contained in:
Felix Lohmeier 2019-09-25 00:55:59 +02:00
parent 01ba54ed50
commit 2468050c79
1 changed files with 1 additions and 5 deletions

View File

@ -11,8 +11,7 @@ RUN conda install --quiet --yes -c conda-forge \
# grant root privileges to user jovyan
RUN sed -i -e 's/^#%sudo/%sudo/' /etc/sudoers && \
echo 'jovyan ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers && \
usermod -a -G root jovyan
echo 'jovyan ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
# copy repository content
RUN rm -r ${HOME}/*
@ -20,6 +19,3 @@ COPY . ${HOME}
RUN chown -R 1000 ${HOME}
USER 1000
# set jupyter root directory
WORKDIR /