Skip to content

Commit

Permalink
Merge pull request Deep-MI#579 from Deep-MI/feature/add-fastsurfer-to…
Browse files Browse the repository at this point in the history
…-path

Extend PATH to include FastSurfer
  • Loading branch information
m-reuter authored Sep 19, 2024
2 parents ef3843c + d9e8657 commit 1c297e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"
NVIDIA_REQUIRE_CUDA="cuda>=8.0"

0 comments on commit 1c297e8

Please sign in to comment.