Skip to content

Commit acccb35

Browse files
committed
docker file parser final interface (JS)
1 parent 65123dd commit acccb35

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/js-sdk/src/template/dockerfileParser.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,18 @@ export interface DockerfileParseResult {
1111
instructions: Instruction[]
1212
}
1313

14+
export interface DockerfileParserFinalInterface {}
15+
1416
export interface DockerfileParserInterface {
1517
setWorkdir(workdir: string): DockerfileParserInterface
1618
setUser(user: string): DockerfileParserInterface
1719
setEnvs(envs: Record<string, string>): DockerfileParserInterface
1820
runCmd(command: string): DockerfileParserInterface
1921
copy(src: string, dest: string): DockerfileParserInterface
20-
setStartCmd(startCommand: string, readyCommand: string): any
22+
setStartCmd(
23+
startCommand: string,
24+
readyCommand: string
25+
): DockerfileParserFinalInterface
2126
}
2227

2328
/**

0 commit comments

Comments
 (0)