We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docker image of the main branch seems to build OK but when running it execution fails with error message.
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'
Build image locally or in CI.
The text was updated successfully, but these errors were encountered:
Seems related to the base image we use as runtime ?
In the dockerfile, if I replace
FROM gcr.io/distroless/python3
By the same image we use in first stage (build)
FROM python:$PY_VERSION-slim
The application starts OK.
This is just an example, there maybe more appropriate base images (I did not check the size of the resulting image).
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug description
The docker image of the main branch seems to build OK but when running it execution fails with error message.
To Reproduce
Build image locally or in CI.
Expected behavior
JSON OUTPUT
Additional context
The text was updated successfully, but these errors were encountered: