Added config volume
This commit is contained in:
@ -156,7 +156,6 @@ RUN set -x && \
|
||||
cut -d " " -f 1,2 \
|
||||
>> "${CONDA_DIR}/conda-meta/pinned" \
|
||||
&& \
|
||||
jupyter notebook --generate-config && \
|
||||
mamba clean --all -f -y && \
|
||||
npm cache clean --force && \
|
||||
jupyter lab clean && \
|
||||
@ -177,13 +176,16 @@ COPY jupyter_server_config.py /etc/jupyter/
|
||||
COPY --chown=${NB_UID}:${NB_GID} Rprofile.site /opt/conda/lib/R/etc/
|
||||
|
||||
USER root
|
||||
#COPY overrides.json /opt/conda/share/jupyter/lab/settings/
|
||||
|
||||
RUN mkdir "${HOME}/notebooks" && \
|
||||
chown "${NB_UID}:${NB_GID}" "${HOME}/notebooks" &&\
|
||||
chmod u+rwx "${HOME}/notebooks"
|
||||
VOLUME "${HOME}/notebooks"
|
||||
|
||||
RUN mkdir -p "${HOME}/.jupyter" && \
|
||||
chown "${NB_UID}:${NB_GID}" "${HOME}/.jupyter" &&\
|
||||
chmod u+rwx "${HOME}/.jupyter"
|
||||
VOLUME "${HOME}/.jupyter"
|
||||
|
||||
# Legacy for Jupyter Notebook Server, see: [#1205](https://github.com/jupyter/docker-stacks/issues/1205)
|
||||
#RUN sed -re "s/c.ServerApp/c.NotebookApp/g" \
|
||||
|
Reference in New Issue
Block a user