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