From 72625a6c3fe7673659fc30b7ca83b4560aa0e3b1 Mon Sep 17 00:00:00 2001 From: Mingfei Shao Date: Tue, 17 Dec 2024 15:06:43 -0600 Subject: [PATCH] update dockerfile --- jupyter-pystata-user-licensed/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter-pystata-user-licensed/Dockerfile b/jupyter-pystata-user-licensed/Dockerfile index cfd8a3b..ba214f1 100644 --- a/jupyter-pystata-user-licensed/Dockerfile +++ b/jupyter-pystata-user-licensed/Dockerfile @@ -10,7 +10,6 @@ RUN mkdir /usr/local/stata18 COPY ./resources/StataNow18Linux64.tar.gz /tmp/StataNow18Linux64.tar.gz RUN cd /usr/local/stata18 && tar -xvf /tmp/StataNow18Linux64.tar.gz -RUN chown -R $NB_USER /usr/local/stata18/ ENV PATH=$PATH:/usr/local/stata18 RUN cd /usr/local/stata18 && \ { echo y; echo y; echo y; } | ./install @@ -18,6 +17,7 @@ RUN cd /usr/local/stata18 && \ COPY ./resources/Stata.ipynb . COPY ./resources/welcome.html . +RUN chown -R $NB_USER /usr/local/stata18/ USER $NB_USER RUN pip install --user stata_setup