Skip to content

Commit c6fc370

Browse files
committed
Select python interpreter
1 parent 467c95e commit c6fc370

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM python:3.9-slim@sha256:5f0192a4f58a6ce99f732fe05e3b3d00f12ae62e183886bca3ebe3d202686c7f
22

3+
ENV PATH /usr/local/bin:$PATH
4+
ENV PYTHON_VERSION 3.9.17
5+
36
RUN \
47
adduser --system --disabled-password --shell /bin/bash vscode && \
58
# install docker

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
3306
2121
],
2222
"customizations": {
23+
"settings": {
24+
"python.pythonPath": "/usr/local/bin/python"
25+
},
2326
"vscode": {
2427
"extensions": [
2528

0 commit comments

Comments
 (0)