From 0332d261c9ccad148206c342aac8c044b16b669c Mon Sep 17 00:00:00 2001 From: Filippo Ledda Date: Thu, 13 Jul 2023 13:41:29 +0200 Subject: [PATCH] Fix permissions on test/stage --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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