kredens/.devcontainer/onCreate.sh
2025-01-23 02:58:00 +00:00

15 lines
286 B
Bash
Executable File

#!/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