nlmatics / nlm-ingestor

This repo provides the server side code for llmsherpa API to connect. It includes parsers for various file formats.
https://www.nlmatics.com
Apache License 2.0
971 stars 124 forks source link

Fails to deploy as a service on Google Cloud Run #17

Closed pashpashpash closed 5 months ago

pashpashpash commented 5 months ago

I am pointing the Cloud Run service to a fork of this repo with the Dockerfile to build with continuous deployment, with default service settings except a custom Container Port set to 5001. It successfully builds the image, but the deployment step fails with the following message:

Trigger execution failed: source code could not be built or deployed, find more information in [build logs]
Revision 'nlm-ingestor-00012-ntl' is not ready and cannot serve traffic. 
The user-provided container failed to start and listen on the port defined 
provided by the PORT=5001 environment variable.

Is anyone else having this problem? Are there any settings I need to tweak other than setting the container port to 5001?

Update: I got the same deployment step error when I used the pre-built docker image ghcr.io/nlmatics/nlm-ingestor:latest instead of continuous deployment.