Skip to content

Commit bfe54f0

Browse files
committed
Patch ipython rubbish
1 parent 2b39197 commit bfe54f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,8 @@ RUN apt-get install -y python-software-properties && \
120120
sed -i 's/ADD_LDFLAGS =/ADD_LDFLAGS = -lstdc++/' config.mk && \
121121
make && cd python && python setup.py install
122122

123+
# Stop ipython nbconvert trying to rewrite its folder hierarchy
124+
RUN mkdir -p /root/.jupyter && touch /root/.jupyter/jupyter_nbconvert_config.py && touch /root/.jupyter/migrated && \
125+
mkdir -p /.jupyter && touch /.jupyter/jupyter_nbconvert_config.py && touch /.jupyter/migrated
126+
123127

0 commit comments

Comments
 (0)