install dependencies with poetry

This commit is contained in:
Alexandre Teles 2022-09-28 22:01:54 -03:00
parent 7b86090cb5
commit 84db334363
2 changed files with 9 additions and 3 deletions

View File

@ -70,8 +70,6 @@
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",
"postStartCommand": "docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"features": {

View File

@ -11,4 +11,12 @@ source ~/.profile
printf "Installing poetry for the current user...\n"
pipx install poetry
pipx install poetry
printf "Starting Redis...\n"
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
printf "Installing dependencies...\n"
poetry install --all-extras