You, Codex, are given a pre-configured container with the following settings.
Set up dependencies, lint, and tests. Learn more
universal
universal
Universal is an image based on Ubuntu 24.04 - see openai/codex-universal to learn more. The repository will be cloned to /workspace/functors-for_projects. Edit workspace directory.
Add
Add
#!/bin/bash
set -euo pipefail
npm install
npm start & # runs Vite on port 3000
# Wait until the server responds on port 3000
while ! nc -z localhost 3000; do
echo "Waiting for dev server..."
sleep 1
doneThe setup script is run at the start of every task, after the repo is cloned. Network access is always enabled for this step.
Common dependencies
Common dependencies Domain details
lawrencerowland.github.io, example.com, github.com, npmjs.org,registry.npmjs.org Enter domains, separated by commas
All methods