mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-15 14:02:58 +00:00
23 lines
552 B
Docker
23 lines
552 B
Docker
# Copyright (c) Jupyter Development Team.
|
|
# Distributed under the terms of the Modified BSD License.
|
|
|
|
# https://hub.docker.com/r/jupyter/base-notebook/tags
|
|
ARG BASE_CONTAINER=jupyter/base-notebook:33add21fab64
|
|
FROM $BASE_CONTAINER
|
|
|
|
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
|
|
ENV TAG="33add21fab64"
|
|
|
|
WORKDIR "${HOME}"
|
|
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}"
|