Skip to content

Commit

Permalink
Merge pull request AllenDowney#38 from piti118/master
Browse files Browse the repository at this point in the history
Fix dockerfile for mybinder.org
  • Loading branch information
AllenDowney authored Nov 30, 2017
2 parents 076c50b + 398211d commit b452b7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ LABEL workdir.launchbot.io="/usr/workdir"
LABEL 8888.port.launchbot.io="Jupyter Notebook"

# Set the working directory
WORKDIR /usr/workdir
USER root
ENV WORKDIR /usr/workdir
WORKDIR ${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 b452b7d

Please sign in to comment.