22 lines
592 B
Docker
22 lines
592 B
Docker
FROM node:24-slim
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install Pi globally — baked into the image, no install at runtime
|
|
RUN npm install -g @earendil-works/pi-coding-agent
|
|
|
|
# Copy action files into the image
|
|
COPY prompts/default.md /action/prompts/default.md
|
|
COPY scripts/review.sh /action/scripts/review.sh
|
|
COPY entrypoint.sh /action/entrypoint.sh
|
|
|
|
RUN chmod +x /action/entrypoint.sh /action/scripts/review.sh
|
|
|
|
# Disable Pi's startup network calls
|
|
ENV PI_OFFLINE=1
|
|
|
|
ENTRYPOINT ["/action/entrypoint.sh"]
|