Skip to content

Commit e4b8c7f

Browse files
committed
chore: install mcp outside .venv
1 parent fcf201a commit e4b8c7f

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ FROM mcr.microsoft.com/devcontainers/python:3.12
22

33
# Copy binaries from the official
44
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
5+
6+
# Remove after production
7+
RUN pip install --no-cache-dir mcp

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"ghcr.io/devcontainers/features/github-cli:1": {}
88
},
99
"workspaceFolder": "/workspaces",
10-
"onCreateCommand": "uv venv .venv --seed && uv pip install mcp",
10+
"onCreateCommand": "uv venv .venv --seed",
1111
"postCreateCommand": "REPO_NAME=$(basename $GITHUB_REPOSITORY) && cat $REPO_NAME/.devcontainer/init.sh >> ~/.bashrc && mkdir .vscode && cp $REPO_NAME/.devcontainer/mcp.json .vscode/",
1212
"hostRequirements": {
1313
"cpus": 16,

.devcontainer/mcp.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
],
2424
"servers": {
2525
"AAZ Flow": {
26-
"command": "uv",
26+
"command": "python",
2727
"args": [
28-
"run",
2928
"azure-cli/tools/aaz-flow/main.py"
3029
],
3130
"env": {

0 commit comments

Comments
 (0)