Skip to content

The path to dockerfile should be fixed to where the agentcore command was run #1128

@jesseturner21

Description

@jesseturner21

Description

Currently when i run agentcore create and then go through with creating a harness the path to Dockerfile checks from the project directory instead of the directory where I ran the agentcore create command

Use the same path to module from the add policy!

Steps to Reproduce

  1. Run agentcore create in ./
  2. then create a project
  3. then start creating a harness
  4. choose add a Dockerfile
  5. put in anything as the path
  6. It will error with the path from the context of the project not the directory i ran the agentcore command from

(26-05-06 13:14:03) <0> [~/workplace/cli/withagentcore/agentcore-cli/.github]
dev-dsk-ajesstur-1e-ab120cb5 % agentcore create

Expected Behavior

path working dir is here - /workplace/ajesstur/cli/withagentcore/agentcore-cli/.github/

Actual Behavior

path working dir is here - /workplace/ajesstur/cli/withagentcore/agentcore-cli/.github/harnesses/

CLI Version

No response

Operating System

macOS

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions