feat: harden codex queue runtime
Add model selection, batch enqueue controls, dev-ready health checks, transcript pagination, queue watchdog recovery, and MiniMax judge JSON repair for codex-queue.
This commit is contained in:
@@ -1,7 +1,36 @@
|
||||
FROM oven/bun:1-debian
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates curl git bash ripgrep procps python3 make g++ bubblewrap docker.io npm \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
bash \
|
||||
bubblewrap \
|
||||
ca-certificates \
|
||||
curl \
|
||||
docker-cli \
|
||||
docker-compose \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
git \
|
||||
gzip \
|
||||
jq \
|
||||
make \
|
||||
npm \
|
||||
openssh-client \
|
||||
patch \
|
||||
pkg-config \
|
||||
procps \
|
||||
python3 \
|
||||
python3-pip \
|
||||
ripgrep \
|
||||
rsync \
|
||||
tar \
|
||||
tini \
|
||||
unzip \
|
||||
xz-utils \
|
||||
&& mkdir -p /usr/local/lib/docker/cli-plugins /root/.docker/cli-plugins \
|
||||
&& ln -sf /usr/bin/docker-compose /usr/local/lib/docker/cli-plugins/docker-compose \
|
||||
&& ln -sf /usr/bin/docker-compose /root/.docker/cli-plugins/docker-compose \
|
||||
&& npm install -g @openai/codex@0.128.0 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
@@ -12,4 +41,5 @@ COPY src/components/microservices/codex-queue/tsconfig.json ./tsconfig.json
|
||||
COPY src/components/microservices/codex-queue/src ./src
|
||||
|
||||
EXPOSE 4222
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
CMD ["bun", "run", "src/index.ts"]
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user