mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 18:14:05 +00:00
Simplify binder Dockerfile
This commit is contained in:
@@ -14,15 +14,4 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||||||
|
|
||||||
ENV TAG="6b49f3337709"
|
ENV TAG="6b49f3337709"
|
||||||
|
|
||||||
WORKDIR "${HOME}"
|
COPY --chown=${NB_UID}:${NB_GID} binder/README.ipynb "${HOME}"/README.ipynb
|
||||||
COPY binder/README.ipynb .
|
|
||||||
|
|
||||||
# Fix permissions on README.ipynb as root
|
|
||||||
USER root
|
|
||||||
|
|
||||||
RUN fix-permissions README.ipynb
|
|
||||||
|
|
||||||
# Switch back to jovyan to avoid accidental container runs as root
|
|
||||||
USER ${NB_UID}
|
|
||||||
|
|
||||||
WORKDIR "${HOME}"
|
|
||||||
|
Reference in New Issue
Block a user