cli icon indicating copy to clipboard operation
cli copied to clipboard

CLI should use the "entrypoint" defined by `oms.yml` and not `Dockerfile`

Open adnrs96 opened this issue 6 years ago • 0 comments

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.

adnrs96 avatar Nov 01 '19 15:11 adnrs96