Skip to content

Commit 0332d26

Browse files
committed
Fix permissions on test/stage
1 parent 5aca5d9 commit 0332d26

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ 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-
USER $NB_UID
40-
COPY . .
41-
COPY --from=jsbuild --chown=$NB_UID:1000 /app webapp
39+
COPY --chown=jovyan:1000 . .
40+
COPY --from=jsbuild --chown=jovyan:1000 /app webapp
4241

43-
USER root
4442

4543
RUN jupyter nbextension install --py --symlink --sys-prefix jupyter_geppetto
4644
RUN jupyter nbextension enable --py --sys-prefix jupyter_geppetto

0 commit comments

Comments
 (0)