@dappnode/dappnodesdk
Version:
dappnodesdk is a tool to make the creation of new dappnode packages as simple as possible. It helps to initialize and publish in ethereum blockchain
11 lines • 529 B
JavaScript
import { writeCompose, updateComposeImageTags } from "../../files/index.js";
import { defaultComposeFileName } from "../../params.js";
/**
* Temporary compose is written to the root directory
* It is used to generate the docker images
*/
export function writeTmpCompose({ compose, composeFileName = defaultComposeFileName, manifest, rootDir }) {
const buildCompose = updateComposeImageTags(compose, manifest);
writeCompose(buildCompose, { dir: rootDir, composeFileName });
}
//# sourceMappingURL=writeTmpCompose.js.map