File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,9 +49,19 @@ RUN mamba env update -n base -f environment.yml
4949RUN echo "alias pip=pip3" >> ~/.bashrc
5050RUN echo "alias python=python3" >> ~/.bashrc
5151
52- RUN mkdir -p /home/coder/.local/share/code-server/Machine/
53- RUN echo "{\" workbench.colorTheme\" : \" Default Dark+\" , \" python.pythonPath\" : \" /home/coder/local/bin/conda/bin/python\" }" >> /home/coder/.local/share/code-server/Machine/settings.json
54-
52+ RUN mkdir -p /home/coder/.vscode/settings.json
53+ cat <<EOT >>
54+ {
55+ "jupyter.kernels.filter" : [
56+ {
57+ "path" : "/usr/bin/python3" ,
58+ "type" : "pythonEnvironment"
59+ }
60+ ],
61+ "workbench.colorTheme" : "Default Dark+" ,
62+ "python.defaultInterpreterPath" : "/home/coder/local/bin/conda/bin/python"
63+ }
64+ EOT
5565
5666# Nice colors in python terminal
5767RUN echo "import sys ; from IPython.core.ultratb import ColorTB ; sys.excepthook = ColorTB() ;" >> /home/coder/local/bin/conda/lib/python3.9/site-packages/sitecustomize.py
You can’t perform that action at this time.
0 commit comments