@nasriya/orchestriq
Version:
A package to generate Docker files
12 lines (11 loc) • 558 B
TypeScript
declare class Tarball {
/**
* Builds a tarball of the given directory path. If a Dockerfile name is provided, it will be renamed within the tarball.
* @param directoryPath The path to the directory that should be built into a tarball.
* @param dockerfileName Optional name to rename the Dockerfile within the tarball to.
* @returns A promise that resolves to the path of the created tarball.
*/
build(directoryPath: string, dockerfileName?: string): Promise<string>;
}
declare const tarball: Tarball;
export default tarball;