refactor(input): bake codex cli runtime

This commit is contained in:
2025-10-15 17:29:06 -05:00
parent 5cd30ef5f2
commit 6a5ce586eb
5 changed files with 32 additions and 39 deletions

View File

@@ -15,7 +15,9 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN npm install --location=global codex-cli || true
# Install the official Codex CLI so the container can invoke `codex prompt`.
# The CLI expects credentials/configuration from the mounted ~/.codex directory.
RUN npm install --location=global @openai/codex
RUN groupadd -r codex && \
useradd -r -m -g codex -s /bin/bash codex