Skip to content

Commit 4bce4fb

Browse files
committed
give coder permission to write in projects directory
1 parent 812cc79 commit 4bce4fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile_exec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,9 @@ RUN conda env create -f environment.yml
4242

4343
RUN bash -c 'conda init && . /home/coder/.bashrc && . activate accel && pip install -e /home/coder/projects'
4444

45+
USER root
46+
RUN chown -R coder:coder /home/coder/projects
47+
48+
USER coder
4549
# Run as executable
4650
ENTRYPOINT ["/neurodocker/startup.sh", "accel_transform"]

0 commit comments

Comments
 (0)