Add permissions to prepare_and_launch.sh

This commit is contained in:
Alberto Soutullo
2025-11-13 14:38:23 +01:00
parent 7ac4f13969
commit 9cc97cb800

1
deployment/codex/prepare_and_launch.sh Normal file → Executable file
View File

@@ -27,6 +27,7 @@ kubectl cp ../../requirements.txt "$namespace/$controlbox_name:/home/code/"
# Create a Python venv (installs python3-venv if missing)
kubectl exec -n "$namespace" "$controlbox_name" -- bash -c "
apt-get update -qq && apt-get install -y -qq python3-venv &&
python3 -m venv /home/venv &&
source /home/venv/bin/activate &&
pip install --upgrade pip &&