Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
chown so the nodebook is writable and copy only code
  • Loading branch information
piti118 authored Nov 30, 2017
1 parent 10dda67 commit 4853d2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ LABEL 8888.port.launchbot.io="Jupyter Notebook"

# Set the working directory
WORKDIR /usr/workdir
COPY . /usr/workdir
COPY code ${WORKDIR}
RUN chown -R ${NB_USER} ${WORKDIR}
USER ${NB_USER}

# Expose the notebook port
EXPOSE 8888
Expand Down

0 comments on commit 4853d2d

Please sign in to comment.