Skip to content

Commit

Permalink
Update and rename appendix to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Nov 13, 2024
1 parent 57e0d9e commit 0a9ba2b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions appendix → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
USER root
FROM pangeo/base-notebook

ENV REPO_DIR="/srv/repo"
COPY . ${REPO_DIR}
RUN chgrp -R staff ${REPO_DIR} && \
chmod -R g+rwx ${REPO_DIR} && \
rm -rf ${REPO_DIR}/book ${REPO_DIR}/docs

# Clean up extra files in ${REPO_DIR}
RUN rm -rf ${REPO_DIR}/book ${REPO_DIR}/docs
USER root

# repo2docker does not set this. This is the default env in repo2docker type images
ENV CONDA_ENV=notebook
Expand Down

0 comments on commit 0a9ba2b

Please sign in to comment.