Skip to content

Commit c604142

Browse files
committed
[FIX] avoid using /c/Users/me for storing templates
1 parent fffeed7 commit c604142

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ RUN python -c "from matplotlib import font_manager" && \
160160
sed -i 's/\(backend *: \).*$/\1Agg/g' $( python -c "import matplotlib; print(matplotlib.matplotlib_fname())" )
161161

162162
# Precaching atlases
163+
ENV TEMPLATEFLOW_HOME="/opt/templateflow"
164+
RUN mkdir -p $TEMPLATEFLOW_HOME
163165
RUN pip install --no-cache-dir "templateflow>=0.1.0,<0.2.0a0" && \
164166
python -c "from templateflow import api as tfapi; \
165167
tfapi.get('MNI152Lin'); \

0 commit comments

Comments
 (0)