feat: add Ops Codex terminal setup UI
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM node:22-alpine AS base
|
||||
LABEL nodedc.deploy.cache_bust="codex-agent-setup-20260624"
|
||||
|
||||
# Setup pnpm package manager with corepack and configure global bin directory for caching
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
@@ -37,6 +38,7 @@ RUN corepack enable pnpm
|
||||
# Copy full directory structure before fetch to ensure all package.json files are available
|
||||
COPY --from=builder /app/out/full/ .
|
||||
COPY turbo.json turbo.json
|
||||
RUN grep -R "Recommended terminal setup" /app/apps/web/core/components/workspace/settings/codex-agent-api-settings.tsx >/dev/null
|
||||
|
||||
# Fetch dependencies to cache store, then install offline with dev deps
|
||||
RUN pnpm fetch --store-dir=/pnpm/store
|
||||
@@ -93,6 +95,7 @@ FROM nginx:1.27-alpine AS production
|
||||
|
||||
COPY apps/web/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --from=installer /app/apps/web/build/client /usr/share/nginx/html
|
||||
RUN grep -R "Recommended terminal setup" /usr/share/nginx/html/assets >/dev/null
|
||||
RUN chmod -R a+rX /usr/share/nginx/html
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user