From a8c5551292c78fb7b08ce86ac4949457b1a90f94 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 23 Mar 2022 11:14:38 +0100 Subject: [PATCH] fix: Volumes --- src/lib/queues/builder.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/queues/builder.ts b/src/lib/queues/builder.ts index d5f782d5b..1cb3d2a6a 100644 --- a/src/lib/queues/builder.ts +++ b/src/lib/queues/builder.ts @@ -68,11 +68,10 @@ export default async function (job) { }); let imageId = applicationId; let domain = getDomain(fqdn); - let volumes = persistentStorage?.map((storage) => { return `${applicationId}${storage.path.replace(/\//gi, '-')}:${ - type !== 'docker' ? '/app' : '' + buildPack !== 'docker' ? '/app' : '' }${storage.path}`; }) || []; // Previews, we need to get the source branch and set subdomain