Skip to content

Commit 2c29fd7

Browse files
committed
Fix write permissions in test/stage env
1 parent a259bce commit 2c29fd7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ WORKDIR $FOLDER
3636
COPY --chown=1000:1000 requirements.txt requirements.txt
3737
RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip && pip install -r requirements.txt --prefer-binary
3838

39-
COPY --chown=$NB_UID:1000 . .
39+
USER $NB_UID
40+
COPY . .
4041
COPY --from=jsbuild --chown=$NB_UID:1000 /app webapp
4142

43+
USER root
4244

4345
RUN jupyter nbextension install --py --symlink --sys-prefix jupyter_geppetto
4446
RUN jupyter nbextension enable --py --sys-prefix jupyter_geppetto

0 commit comments

Comments
 (0)