fix(devcontainer): fixes python new requirements for venvs

Signed-off-by: Jonathan Nagayoshi <jonathan@nagayoshi.com.br>
This commit is contained in:
Jonathan Nagayoshi
2023-08-24 00:52:38 +00:00
parent 77200a065c
commit eadac84cf9
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"features": {
"ghcr.io/devcontainers/features/common-utils:1": {},
"ghcr.io/devcontainers/features/docker-from-docker:1": {},
"ghcr.io/devcontainers-contrib/features/mkdocs:1": {}
"ghcr.io/devcontainers-contrib/features/mkdocs:2": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
+4 -1
View File
@@ -1,3 +1,6 @@
#!/bin/bash
yarn install
pip install mkdocs-techdocs-core
export VIRTUAL_ENV=$HOME/venv
python3 -m venv $VIRTUAL_ENV
export PATH="$VIRTUAL_ENV/bin:$PATH"
python3 -m pip install mkdocs-techdocs-core