Skip to content

Commit

Permalink
Merge pull request #188 from nmfs-opensci/eeholmes-patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
eeholmes authored Nov 15, 2024
2 parents f03cdb5 + 731bfac commit de1d594
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ RUN mkdir -p ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_server_config.d/ && \
cp ${REPO_DIR}/custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_server_config.d/ && \
cp ${REPO_DIR}/custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_notebook_config.d/

# Set up the defaults for Desktop. Keep config in the base so doesn't trash user environment
ENV XDG_CONFIG_HOME=/etc/xdg/.config
RUN chmod +x "${REPO_DIR}/desktop.sh" \
&& "${REPO_DIR}/desktop.sh"

# Set up the start command
USER ${NB_USER}
RUN chmod +x ${REPO_DIR}/start \
Expand Down

0 comments on commit de1d594

Please sign in to comment.