support packages.txt on devcontainer setup

This commit is contained in:
Cris Silva 2023-07-06 21:41:19 +00:00
parent 49de109149
commit 7f9c994a88

View File

@ -19,7 +19,7 @@
]
}
},
"updateContentCommand": "[ -f packages.txt ] && xargs sudo apt-get install <packages.txt; pip3 install --user -r requirements.txt",
"updateContentCommand": "[ -f packages.txt ] && sudo apt update && sudo apt upgrade && sudo xargs apt install -y <packages.txt; pip3 install --user -r requirements.txt",
"postAttachCommand": {
"server": "streamlit run streamlit_app.py --server.enableCORS false --server.enableXsrfProtection false"
},