Skip to content

Commit

Permalink
changed with help from dagger maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
thogar-computer committed Nov 15, 2024
1 parent c6d3872 commit 8012cbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dagger/src/amrit_repos/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def build_env(self, source: dagger.Directory) -> dagger.Container:
return (
dag.container()
.from_("cgr.dev/chainguard/node")
.with_directory("/src", source)
.with_directory("/src", source, owner="node")
.with_mounted_cache("/root/.npm", node_cache)
.with_workdir("/src")
.with_exec(["npm", "ci"])
.with_workdir("/src")
.with_exec(["npm", "ci"])
)

0 comments on commit 8012cbd

Please sign in to comment.