We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc9c9e commit fe9eb8dCopy full SHA for fe9eb8d
.devcontainer/Dockerfile
@@ -6,4 +6,4 @@ USER vscode
6
RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.35.0" RYE_INSTALL_OPTION="--yes" bash
7
ENV PATH=/home/vscode/.rye/shims:$PATH
8
9
-RUN echo "[[ -d .venv ]] && source .venv/bin/activate" >> /home/vscode/.bashrc
+RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc
.devcontainer/devcontainer.json
@@ -24,6 +24,9 @@
24
}
25
26
27
+ },
28
+ "features": {
29
+ "ghcr.io/devcontainers/features/node:1": {}
30
31
32
// Features to add to the dev container. More info: https://containers.dev/features.
0 commit comments