15 lines
482 B
Docker
15 lines
482 B
Docker
# syntax=docker/dockerfile:1.6
|
|
ARG BASE_TAG=dev
|
|
FROM paperclipai/agent-runtime-base:${BASE_TAG}
|
|
|
|
USER root
|
|
# acpx is the ACPX wrapper that bridges to claude / codex backends.
|
|
# Verified npm package name: "acpx" (bin 'acpx' → dist/cli.js).
|
|
RUN npm install -g acpx@latest \
|
|
&& { chown -R 1000:1000 /usr/lib/node_modules || true; }
|
|
|
|
USER 1000:1000
|
|
|
|
# Verify the CLI is on PATH for the shim's exec.LookPath
|
|
RUN command -v acpx >/dev/null 2>&1 || (echo "acpx not on PATH"; exit 1)
|