@@ -160,22 +160,22 @@ Our devcontainer uses two key lifecycle commands optimized for prebuild:
160160#### ` onCreateCommand ` (Container Creation)
161161``` bash
162162# Creates Python virtual environment and registers Jupyter kernel
163- echo ' 🚀 Creating Python virtual environment in workspace...' &&
164- /usr/local/bin/python3.12 -m venv /workspaces/Apim-Samples/.venv --copies &&
165- source /workspaces/Apim-Samples/.venv/bin/activate &&
166- pip install --upgrade pip setuptools wheel ipykernel &&
163+ echo ' 🚀 Creating Python virtual environment in workspace...' &&
164+ /usr/local/bin/python3.12 -m venv /workspaces/Apim-Samples/.venv --copies &&
165+ source /workspaces/Apim-Samples/.venv/bin/activate &&
166+ pip install --upgrade pip setuptools wheel ipykernel &&
167167python -m ipykernel install --user --name=apim-samples --display-name=' APIM Samples Python 3.12'
168168```
169169
170170#### ` updateContentCommand ` (Content Updates)
171171``` bash
172172# Installs Python packages and configures environment
173- source /workspaces/Apim-Samples/.venv/bin/activate &&
174- pip install -r requirements.txt &&
175- pip install pytest pytest-cov coverage &&
176- python setup/setup_python_path.py --generate-env &&
177- az config set core.login_experience_v2=off &&
178- az extension add --name containerapp --only-show-errors &&
173+ source /workspaces/Apim-Samples/.venv/bin/activate &&
174+ pip install -r requirements.txt &&
175+ pip install pytest pytest-cov coverage &&
176+ python setup/setup_python_path.py --generate-env &&
177+ az config set core.login_experience_v2=off &&
178+ az extension add --name containerapp --only-show-errors &&
179179az extension add --name front-door --only-show-errors
180180```
181181
0 commit comments