agent-claw: automated task changes
This commit is contained in:
19
src/lambdas/workspace-mcp/Dockerfile
Normal file
19
src/lambdas/workspace-mcp/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM public.ecr.aws/lambda/python:3.12
|
||||
|
||||
# Install Lambda Web Adapter
|
||||
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.8.4 /lambda-adapter /opt/extensions/lambda-adapter
|
||||
|
||||
# Install workspace-mcp and dependencies
|
||||
RUN pip install workspace-mcp==1.20.3 boto3 --quiet
|
||||
|
||||
# Copy bootstrap and helper scripts
|
||||
COPY bootstrap /var/task/bootstrap
|
||||
COPY fetch_credentials.py /var/task/fetch_credentials.py
|
||||
RUN chmod +x /var/task/bootstrap
|
||||
|
||||
# Lambda Web Adapter config
|
||||
ENV AWS_LAMBDA_EXEC_WRAPPER=/opt/bootstrap
|
||||
ENV PORT=8080
|
||||
ENV READINESS_CHECK_PATH=/health
|
||||
|
||||
CMD ["/var/task/bootstrap"]
|
||||
Reference in New Issue
Block a user