kredens/.devcontainer/onCreate.sh

15 lines
286 B
Bash
Raw Normal View History

2025-01-23 02:58:00 +00:00
#!/bin/bash
sudo apt update -y
sudo apt upgrade -y
git config --global --add safe.directory ${WORKSPACE_FOLDER}
sudo chown $(id -u):$(id -g) -fR \
${WORKSPACE_FOLDER}/.venv \
${WORKSPACE_FOLDER}/node_modules
cd ${WORKSPACE_FOLDER}
uv python install
uv venv --allow-existing