Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: Volumes

Andras Bacsaia8c5551292c7
diff --git a/src/lib/queues/builder.ts b/src/lib/queues/builder.ts
index d5f782d5bf..1cb3d2a6ac 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