feat: Use compose instead of normal docker cmd

This commit is contained in:
Andras Bacsai
2022-03-23 10:25:32 +01:00
parent f0ab3750bd
commit 2bf73109b2
13 changed files with 131 additions and 191 deletions

View File

@@ -52,8 +52,7 @@ export const post: RequestHandler = async (event) => {
buildCommand,
startCommand,
baseDirectory,
publishDirectory,
phpModules
publishDirectory
} = await event.request.json();
if (port) port = Number(port);
@@ -69,8 +68,7 @@ export const post: RequestHandler = async (event) => {
buildCommand,
startCommand,
baseDirectory,
publishDirectory,
phpModules
publishDirectory
});
return { status: 201 };
} catch (error) {