From d8b02fd74f119e4a295c84da7eb346a90356cc7d Mon Sep 17 00:00:00 2001 From: Mingfei Shao Date: Wed, 18 Dec 2024 22:07:16 -0600 Subject: [PATCH] fix --- jupyter-pystata-gen3-licensed/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jupyter-pystata-gen3-licensed/Dockerfile b/jupyter-pystata-gen3-licensed/Dockerfile index 17b8e60..e719d06 100644 --- a/jupyter-pystata-gen3-licensed/Dockerfile +++ b/jupyter-pystata-gen3-licensed/Dockerfile @@ -11,6 +11,9 @@ COPY jupyter-pystata-gen3-licensed/resources/wait_for_license.sh /tmp/ COPY jupyter-pystata-gen3-licensed/resources/setup_licensed_notebook.py /tmp/ RUN chmod 777 /tmp/wait_for_license.sh /tmp/setup_licensed_notebook.py +COPY jupyter-pystata-gen3-licensed/resources/licensed_stata_session.ipynb $HOME +RUN chown $NB_USER $HOME/licensed_stata_session.ipynb + USER $NB_USER RUN pip3 install selenium @@ -20,5 +23,3 @@ RUN pip3 install stata-setup # Remove the notebook created in jupyter-pystata-user-licensed RUN rm $HOME/Stata.ipynb -COPY jupyter-pystata-gen3-licensed/resources/licensed_stata_session.ipynb $HOME -RUN chown $NB_USER $HOME/licensed_stata_session.ipynb