From e21f8b8336bbe782b8c49af0170ac4d930fa30db Mon Sep 17 00:00:00 2001 From: Elad Cohen Date: Thu, 13 Jun 2024 14:20:37 +0300 Subject: [PATCH] wip --- python/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/util.js b/python/util.js index 13e5bc31..3d39b49b 100644 --- a/python/util.js +++ b/python/util.js @@ -41,7 +41,7 @@ exports.build = (options) => { const requirementsPath = join(path, "requirements.txt"); if (existsSync(requirementsPath)) { if (process.env["WING_TARGET"] === "sim") { - const md5 = createMD5ForProject(requirementsPath); + const md5 = createMD5ForProject(requirementsPath, nodePath, path, handler); const imageName = `wing-py:${md5}`; execSync(`docker build -t ${imageName} -f ${join(__dirname, "./builder/Dockerfile")} ${path}`, { cwd: __dirname, env: { HOME: homeEnv, PATH: pathEnv } }