Skip to content

Commit

Permalink
adding root user to install package
Browse files Browse the repository at this point in the history
  • Loading branch information
Soap2G committed Oct 3, 2024
1 parent 5055a2f commit 761c18a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ SHELL ["/bin/bash", "-c"]

COPY . /zenodo_jupyterlab_extension

USER root
WORKDIR /zenodo_jupyterlab_extension

#install correct version of Node
Expand All @@ -15,6 +16,7 @@ RUN conda upgrade -c conda-forge nodejs && \
python3 -m pip install . && \
jupyter server extension enable zenodo_jupyterlab.server

USER jovyan
WORKDIR /home/jovyan/work
# Expose port and run JupyterLab
EXPOSE 8888
Expand Down

0 comments on commit 761c18a

Please sign in to comment.