diff --git a/Docker/Dockerfile b/Docker/Dockerfile index b239c7e8..46ba5f9f 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -221,6 +221,7 @@ RUN cd /fastsurfer ; python3 FastSurferCNN/download_checkpoints.py --all && \ # Set FastSurfer workdir and entrypoint # the script entrypoint ensures that our conda env is active +RUN useradd -m -s /bin/bash -u 1000 -g 1000 nonroot USER nonroot WORKDIR "/fastsurfer" ENTRYPOINT ["/fastsurfer/Docker/entrypoint.sh","/fastsurfer/run_fastsurfer.sh"] @@ -232,4 +233,4 @@ FROM runtime AS runtime_cuda ENV NVIDIA_VISIBLE_DEVICES=all \ NVIDIA_DRIVER_CAPABILITIES=compute,utility \ - NVIDIA_REQUIRE_CUDA="cuda>=8.0" \ No newline at end of file + NVIDIA_REQUIRE_CUDA="cuda>=8.0"