Docker
Quick Start
bash
docker pull ghcr.io/codecoradev/covecto:latest
docker run -p 3000:3000 ghcr.io/codecoradev/covecto:latestThe container starts the API server on port 3000 by default.
Docker Compose
yaml
services:
covecto:
image: ghcr.io/codecoradev/covecto:latest
ports:
- "3000:3000"
environment:
- RUST_LOG=info
restart: unless-stoppedbash
docker compose up -dCLI in a Container
Mount a local directory to vectorize files:
bash
docker run -v $(pwd):/data ghcr.io/codecoradev/covecto:latest \
vectorize /data/input.png -o /data/output.svgHealth Check
The Docker image exposes a health endpoint:
bash
curl http://localhost:3000/v1/healthImage Variants
| Tag | Description |
|---|---|
latest | Latest stable release |
v0.1.0 | Pinned version |
v0.1 | Latest patch for 0.1.x |
Images are available on GHCR and Docker Hub.
Build from Source
bash
# Multi-stage build (compiles Rust in Docker)
docker build -t covecto .
# Run
docker run -p 3000:3000 covecto