Skip to content

Commit 4f14280

Browse files
committed
container fix
1 parent 6b60517 commit 4f14280

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ RUN python3 -m venv $VIRTUAL_ENV && \
5757
python -m pip install --no-cache-dir ipykernel && \
5858
rm -rf build packageTools/build base/build metisCy/build fem/build multilevelSolver/build nl/build && \
5959
python -m ipykernel install --name=PyNucleus && \
60-
echo '[ ! -z "$TERM" -a -r /pynucleus/README.container.rst ] && printf "\e[32m" && cat /pyncleus/README.container.rst && printf "\e[0m"' >> /etc/bash.bashrc
60+
echo '[ ! -z "$TERM" -a -r /pynucleus/README.container.rst ] && printf "\e[32m" && cat /pynucleus/README.container.rst && printf "\e[0m"' >> /etc/bash.bashrc
6161

6262
WORKDIR /root

compose.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ services:
2727
hostname: pynucleus-container
2828
command: >
2929
sh -c "
30-
mkdir -p /root/notebooks &&
30+
mkdir -p /root/examples &&
3131
mkdir -p /root/drivers &&
32-
cp --update=none /pynucleus/examples/* /root/examples &&
33-
cp --update=none /pynucleus/drivers/* /root/drivers &&
32+
cp -r --update=none /pynucleus/examples/* /root/examples &&
33+
cp -r --update=none /pynucleus/drivers/* /root/drivers &&
3434
if [ ! -f /root/.bashrc ]; then echo \"alias ls='ls --color=auto -FN'\" >> /root/.bashrc ; fi &&
3535
if [ ! -f /root/.inputrc ]; then echo \"set completion-ignore-case On\" >> /root/.inputrc ; fi &&
3636
jupyter notebook --port=8888 --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token='' --NotebookApp.password='' --notebook-dir=/root/ --KernelSpecManager.ensure_native_kernel=False --KernelSpecManager.allowed_kernelspecs=pynucleus > /dev/null 2>&1 &

0 commit comments

Comments
 (0)