Skip to content

Commit

Permalink
Set Conda base env as default in jupyter notebooks in VSCode-Python (#…
Browse files Browse the repository at this point in the history
…155)

close #154
  • Loading branch information
ihiverlet committed Nov 6, 2023
1 parent f7d68aa commit 6c75b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN curl -fsSL https://code-server.dev/install.sh | bash && \
# Create directories to store custom VSCode settings
mkdir -p ${USER_CONFIG_DIR} ${REMOTE_CONFIG_DIR} && \
# Set Conda binary path in remote settings to auto activate base env when running Python code
echo "{\"python.condaPath\": \"${MAMBA_DIR}/bin/conda\"}" > ${REMOTE_CONFIG_DIR}/settings.json && \
echo "{\"python.defaultInterpreterPath\": \"${MAMBA_DIR}/bin/conda\"}" > ${REMOTE_CONFIG_DIR}/settings.json && \
# Fix permissions
chown -R ${USERNAME}:${GROUPNAME} ${HOME} && \
# Clean
Expand Down

0 comments on commit 6c75b6d

Please sign in to comment.