Skip to content

Commit 0ac9df2

Browse files
committed
Fix ci tests
1 parent 0ff837c commit 0ac9df2

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/docker/ci.Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
FROM node:20-alpine
2-
32
RUN apk add --no-cache python3 py3-pip bash git && ln -sf python3 /usr/bin/python
43
WORKDIR /work
54

65
# Copy manifests first for caching
7-
COPY package.json package-lock.json* /work/
6+
COPY package.json package-lock.json* ./
87
RUN 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
1313
RUN 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

1517
CMD ["bash"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)