cli
cli copied to clipboard
CLI should use the "entrypoint" defined by `oms.yml` and not `Dockerfile`
The OMS CLI builds the docker image and uses the entrypoint defined inside the Dockerfile. It shouldn't be doing that and instead be using the entrypoint/command defined by oms.yml using the startup section:
lifecycle:
startup:
command: ["python", "/app/app.py"]
This is important since runtime does this and one could have different entrypoints at these locations and endup with a situation where things are working with oms and not in the runtime.