Unstructured-IO / unstructured-api

Apache License 2.0
446 stars 101 forks source link

Is there a ready-made fastapi integration service image? #339

Closed yuanjie-ai closed 5 days ago

yuanjie-ai commented 6 months ago

Is there a ready-made fastapi integration service image?

lambda-science commented 6 months ago
  unstructured:
    image: downloads.unstructured.io/unstructured-io/unstructured-api:latest
    ports:
      - 8002:8002
    entrypoint: ["uvicorn", "prepline_general.api.app:app", "--log-config", "logger_config.yaml",
                 "--host", "0.0.0.0", "--port", "8002"]

But it's really huge, like 17go docker image. How can we reduce this

awalker4 commented 6 months ago

Hi @lambda-science, another user noted this as well. I'd expect our images to be more in the 8GB range, so I wonder if we made a mistake in the hosted version. Please follow the issue over here for tracking this: https://github.com/Unstructured-IO/base-images/issues/11