Alright, well Marvin wasn't much of a help unfortu...
# ask-community
s
Alright, well Marvin wasn't much of a help unfortunately, so yeah, does anyone have any examples of a repository that builds a container and sets up a deployment for a flow to be run using an ECS worker? Just knowing what prefect is doing when you pass
build=True
would be useful so I can configure things the same way
a
personally i've found it easier to build everything separately and then define the image in the deployment overrides
Copy code
deployments:
  - name: run-xxxx
    tags: []
    entrypoint: path/to/file:function_name
    work_pool:
      name: *spot_work_pool
      work_queue_name:
      job_variables: {
        "image": "xxx",
        "namespace": "x",
        "service_account_name": "xxx"
      }
    version:
    description: 
    parameters: {}
    schedules: []
Not sure about ecs but with kube you can then override variables in the job_variables section
🙏 2