File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11FROM node:20-alpine
2-
32RUN apk add --no-cache python3 py3-pip bash git && ln -sf python3 /usr/bin/python
43WORKDIR /work
54
65# Copy manifests first for caching
7- COPY package.json package-lock.json* /work /
6+ COPY package.json package-lock.json* . /
87RUN if [ -f package-lock.json ]; then npm ci --ignore-scripts; else npm install --ignore-scripts; fi
98
10- # Python tooling for validators
11- COPY requirements.txt* /tmp/ 2>/dev/null || true
12- RUN if [ -f /tmp/requirements.txt ]; then pip install --no-cache-dir -r /tmp/requirements.txt; fi
9+ # Copy repo (so we can conditionally use requirements.txt if present)
10+ COPY . .
11+
12+ # Python tooling for validators (tiny) — install unconditionally
1313RUN pip install --no-cache-dir pytest jsonschema pyyaml
14+ # If you want to honor a custom requirements.txt when present:
15+ # RUN if [ -f requirements.txt ]; then pip install --no-cache-dir -r requirements.txt; fi
1416
1517CMD ["bash" ]
Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ Every agent follows these rules:
148148
149149---
150150
151- ## 📜 License
152- MIT
151+ ## License
152+ MIT License
153153
154154## Further reading
155155- [ Design Patterns for Securing LLM Agents against Prompt Injections] ( https://arxiv.org/abs/2506.08837 )
You can’t perform that action at this time.
0 commit comments