Skip to content

Commit

Permalink
Fix permissions on test/stage
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Jul 13, 2023
1 parent 5aca5d9 commit 0332d26
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0332d26

Please sign in to comment.