Anil Vishnoi a91ee83c61 Publish docling-serve images to ghcr and quay container repositories (#1)
* Publish docling-serve images to ghcr and quay container repositories

This commit:
- Creates container file to build the image for cpu only
and default "with gpu" images
- Adds workflow jobs to publish the images to ghcr.io and quay.io
- Makefile to build these images locally for linux/amd64 platform.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>

* make cpu-only version with poetry

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* Rename cpu/gpu image names and also update the supported platforms

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>

---------

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Co-authored-by: Michele Dolfi <dol@zurich.ibm.com>
2024-09-12 22:02:42 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 21:41:40 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00

Docling Serve

Running Docling as an API service.

Note

This is an unstable draft implementation which will quickly evolve.

Development

Install the dependencies

# Install dependencies
poetry install

# Run the server
poetry run uvicorn docling_serve.app:app --reload

Example payload (http source):

curl -X 'POST' \
  'http://127.0.0.1:8000/convert' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "http_source": {
    "url": "https://arxiv.org/pdf/2206.01062"
  }
}'
Description
No description provided
Readme MIT 22 MiB
Languages
Python 93.2%
Makefile 5.1%
Dockerfile 1.7%