neuro-inc / ml-recipe-bone-age

Pediatric Bone Age Assessment
Apache License 2.0
25 stars 6 forks source link

Live yaml: unexpected key 'full_dockerfile_path' #21

Open atemate opened 3 years ago

atemate commented 3 years ago

In documentation there's a field images.<image-id>.full_dockerfile_path: https://neu-ro.gitbook.io/neuro-flow/reference/live-contexts#images-context

$ nf build outforzapiworker
ERROR: while constructing a 'Image'
  in "/home/ay/github/nm/mlops-outforz/.neuro/live.yml", line 11, column 5
unexpected key 'full_dockerfile_path'
  in "/home/ay/github/nm/mlops-outforz/.neuro/live.yml", line 12, column 5
ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fdea1b70cd0>

live.yaml:

kind: live
title: MLOps Outforz Inference

images:
  outforzapiworker:
    ref: image:mlops-outforz/outforzapiworker:v1
    full_dockerfile_path: Dockerfile
    context: requirements/
    build_args:
      - REQUIREMENTS_TXT=outforzapiworker.txt