From 4e43efef50d0f3e9b734409062815a6ed7309ff1 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 16 May 2022 16:17:32 +0200 Subject: [PATCH] fix: Gastby buildpack --- src/lib/buildPacks/gatsby.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/buildPacks/gatsby.ts b/src/lib/buildPacks/gatsby.ts index a10f84c43..dc1c7d0e8 100644 --- a/src/lib/buildPacks/gatsby.ts +++ b/src/lib/buildPacks/gatsby.ts @@ -19,8 +19,8 @@ const createDockerfile = async (data, imageforBuild): Promise => { export default async function (data) { try { const { baseImage, baseBuildImage } = data; - await buildCacheImageWithNode(data, baseImage); - await createDockerfile(data, baseBuildImage); + await buildCacheImageWithNode(data, baseBuildImage); + await createDockerfile(data, baseImage); await buildImage(data); } catch (error) { throw error;