Skip to content

Commit

Permalink
Change WORKDIR to /home/jovyan/work.
Browse files Browse the repository at this point in the history
  • Loading branch information
briank-git committed Sep 2, 2023
1 parent c62eaa7 commit 019dce0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerfiles/r-stat-301/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ RUN apt-get update --yes && \

USER ${NB_UID}

WORKDIR "${HOME}"
# Change workdir to $HOME/work so config files are preserved when bind mounting
WORKDIR "${HOME}/work"

# remove the "work/" directory added in an earlier layer...
RUN rm -rf work
Expand Down

0 comments on commit 019dce0

Please sign in to comment.