Skip to content

Commit

Permalink
cluster: fix dockerfile not found
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Sep 11, 2024
1 parent 7b6d06b commit fddfc82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platform/src/components/aws/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,9 @@ export class Service extends Component implements Link.Linkable {
},
dockerfile: {
location: imageArgsNew.apply((v) =>
path.join($cli.paths.root, v.dockerfile ?? "Dockerfile"),
v.dockerfile
? path.join($cli.paths.root, v.dockerfile)
: path.join($cli.paths.root, v.context, "Dockerfile"),
),
},
buildArgs: imageArgsNew.apply((v) => v.args ?? {}),
Expand Down

0 comments on commit fddfc82

Please sign in to comment.