diff --git a/Docker/Dockerfile b/Docker/Dockerfile index b239c7e8..8497ba9e 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -195,7 +195,8 @@ RUN if [[ "$DEVICE" == "cu118" ]] ; then cd /venv/python3.10/site-packages/torch # Copy fastsurfer over from the build context and add PYTHONPATH COPY . /fastsurfer/ ENV PYTHONPATH=/fastsurfer:/opt/freesurfer/python/packages \ - FASTSURFER_HOME=/fastsurfer + FASTSURFER_HOME=/fastsurfer \ + PATH=/fastsurfer:$PATH # Download all remote network checkpoints already, compile all FastSurfer scripts into # bytecode and update the build file with checkpoints md5sums and pip packages. @@ -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"