Logo
Explore Help
Sign In
iSharkFly-Docs/amazon-bedrock-agentcore-samples
1
0
Fork 0
You've already forked amazon-bedrock-agentcore-samples
mirror of https://github.com/awslabs/amazon-bedrock-agentcore-samples.git synced 2025-09-08 20:50:46 +00:00
Code Issues Packages Projects Releases Wiki Activity
amazon-bedrock-agentcore-sa.../02-use-cases/AWS-operations-agent/mcp-tool-lambda/lambda/Dockerfile

14 lines
347 B
Docker
Raw Permalink Normal View History

Rohillao dev (#137) * Remove .aws-sam build artifacts Deleted .aws-sam folder as it contains build artifacts that are generated during sam build and should not be checked into version control. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix MCP 1.10.0 compatibility and add Docker support - Fix MCP client for 1.10.0 API changes (streamablehttp_client now returns 3-tuple) - Add comprehensive .gitignore for AWS Operations Agent project - Add Dockerfiles for agent-lambda and mcp-tool-lambda - Update requirements.txt to use mcp==1.10.0 - Add fallback DirectMCPClient class for better error handling * Update documentation and scripts - Update SETUP.md with latest deployment instructions - Modify create-target.py script for improved functionality --------- Co-authored-by: name <alias@amazon.com> Co-authored-by: Claude <noreply@anthropic.com>
2025-07-24 09:52:55 -07:00
FROM public.ecr.aws/lambda/python:3.11
# Copy requirements first for better caching
COPY requirements.txt ${LAMBDA_TASK_ROOT}
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy function code
COPY mcp-tool-handler.py ${LAMBDA_TASK_ROOT}
# Set the CMD to your handler
CMD ["mcp-tool-handler.lambda_handler"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 2082ms Template: 50ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API