Skip to main content

Deployment Examples

Deploy from current directory

eigenx app deploy

The CLI will prompt you for deployment configuration.

Deploy with custom Dockerfile location

eigenx app deploy --dockerfile ./docker/Dockerfile.prod

Deploy with custom .env location

eigenx app deploy --env-file ./config/.env.production

Deploy pre-built image

# Build and push manually
docker build --platform linux/amd64 -t registry.io/user/myapp:v1.0 .
docker push registry.io/user/myapp:v1.0

# Deploy the image
eigenx app deploy registry.io/user/myapp:v1.0

Multi-Environment Deployment

# Deploy to mainnet (default)
eigenx app deploy --env-file .env.mainnet

# Deploy to sepolia testnet
eigenx app deploy --env-file .env.sepolia --environment sepolia