Deployment with Docker
Once your agent is working locally, you can build and deploy it in Docker:
- Build the image:
docker build -t codeligence-agents:latest . - Run it:
docker run -p 8000:8000 --env-file .env codeligence-agents:latest - Push to your registry (if required):
docker tag codeligence-agents:latest <registry>/codeligence-agents:latest docker push <registry>/codeligence-agents:latest - Make sure your environment variables (in
.env) are also set in your production environment or passed into the container.