Skip to content

Docker

Quick Start

bash
docker pull ghcr.io/codecoradev/covecto:latest
docker run -p 3000:3000 ghcr.io/codecoradev/covecto:latest

The 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-stopped
bash
docker compose up -d

CLI 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.svg

Health Check

The Docker image exposes a health endpoint:

bash
curl http://localhost:3000/v1/health

Image Variants

TagDescription
latestLatest stable release
v0.1.0Pinned version
v0.1Latest 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