Deployment Examples
Deploy from current directory
ecloud compute app deploy
The CLI will prompt you for deployment configuration.
Deploy with custom Dockerfile location
ecloud compute app deploy --dockerfile ./docker/Dockerfile.prod
Deploy with custom .env location
ecloud compute 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
ecloud compute app deploy registry.io/user/myapp:v1.0
Multi-Environment Deployment
# Deploy to mainnet (default)
ecloud compute app deploy --env-file .env.mainnet
# Deploy to sepolia testnet
ecloud compute app deploy --env-file .env.sepolia --environment sepolia