agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,33 @@
# base lambda image
FROM public.ecr.aws/lambda/nodejs:latest
USER root
RUN mkdir -p /opt
WORKDIR /tmp
#
# tools
#
RUN dnf update -y \
&& dnf install -y zip
#
# install nodejs dependencies: proxy-agent
#
RUN mkdir -p /opt/nodejs
COPY package*.json /opt/nodejs/
RUN cd /opt/nodejs && npm ci && rm package*.json
#
# create the bundle
#
RUN cd /opt \
&& zip --symlinks -r ../layer.zip * \
&& echo "/layer.zip is ready" \
&& ls -alh /layer.zip;
WORKDIR /
ENTRYPOINT [ "/bin/bash" ]