Skip to content

Commit 2273681

Browse files
committed
Add jupyter in conda env to PATH.
1 parent 50fd438 commit 2273681

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ FROM mcr.microsoft.com/devcontainers/universal:${VARIANT}
44
# Create the conda environment
55
COPY environment.yml /tmp/conda-tmp/
66
RUN conda env create --file /tmp/conda-tmp/environment.yml --quiet
7+
8+
# Update PATH for Jupyter editing option
9+
ENV PATH="/opt/conda/envs/pandas_workshop/bin:${PATH}"

.devcontainer/devcontainer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"vscode": {
2727
// Set *default* container specific settings.json values on container create.
2828
"settings": {
29-
"python.defaultInterpreterPath": "/home/vscode/.conda/envs/pandas_workshop"
29+
"python.defaultInterpreterPath": "/opt/conda/envs/pandas_workshop"
3030
},
3131

3232
// Add the IDs of extensions you want installed when the container is created.
@@ -36,10 +36,4 @@
3636
]
3737
}
3838
}
39-
40-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
41-
// "forwardPorts": [],
42-
43-
// Use 'postCreateCommand' to run commands after the container is created.
44-
// "postCreateCommand": ""
4539
}

0 commit comments

Comments
 (0)