diff --git a/Dockerfile b/Dockerfile index 691b8f28..26e69b30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,11 +36,9 @@ WORKDIR $FOLDER COPY --chown=1000:1000 requirements.txt requirements.txt RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip && pip install -r requirements.txt --prefer-binary -USER $NB_UID -COPY . . -COPY --from=jsbuild --chown=$NB_UID:1000 /app webapp +COPY --chown=jovyan:1000 . . +COPY --from=jsbuild --chown=jovyan:1000 /app webapp -USER root RUN jupyter nbextension install --py --symlink --sys-prefix jupyter_geppetto RUN jupyter nbextension enable --py --sys-prefix jupyter_geppetto