Skip to content

Commit a1af5f2

Browse files
committed
put settings in separate file
1 parent 85b7c60 commit a1af5f2

2 files changed

Lines changed: 12 additions & 13 deletions

File tree

Dockerfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,8 @@ RUN mamba env update -n base -f environment.yml
4949
RUN echo "alias pip=pip3" >> ~/.bashrc
5050
RUN echo "alias python=python3" >> ~/.bashrc
5151

52-
RUN mkdir -p /home/coder/.vscode/settings.json
53-
RUN 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
52+
RUN mkdir -p /home/coder/.vscode/
53+
COPY settings.json /home/coder/.vscode/settings.json
6554

6655
# Nice colors in python terminal
6756
RUN echo "import sys ; from IPython.core.ultratb import ColorTB ; sys.excepthook = ColorTB() ;" >> /home/coder/local/bin/conda/lib/python3.9/site-packages/sitecustomize.py

settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"jupyter.kernels.filter": [
3+
{
4+
"path": "/usr/bin/python3",
5+
"type": "pythonEnvironment"
6+
}
7+
],
8+
"workbench.colorTheme": "Default Dark+",
9+
"python.defaultInterpreterPath": "/home/coder/local/bin/conda/bin/python"
10+
}

0 commit comments

Comments
 (0)