feat: Multiply dockerfile locations for docker buildpack

This commit is contained in:
Andras Bacsai
2022-04-19 22:34:28 +02:00
parent 625e71ab08
commit 2b28f8bd8f
10 changed files with 57 additions and 22 deletions

View File

@@ -263,7 +263,8 @@ export async function configureApplication({
publishDirectory,
pythonWSGI,
pythonModule,
pythonVariable
pythonVariable,
dockerFileLocation
}: {
id: string;
buildPack: string;
@@ -278,6 +279,7 @@ export async function configureApplication({
pythonWSGI: string;
pythonModule: string;
pythonVariable: string;
dockerFileLocation: string;
}): Promise<Application> {
return await prisma.application.update({
where: { id },
@@ -293,7 +295,8 @@ export async function configureApplication({
publishDirectory,
pythonWSGI,
pythonModule,
pythonVariable
pythonVariable,
dockerFileLocation
}
});
}