diff --git a/packages/server/src/utils/builders/docker-file.ts b/packages/server/src/utils/builders/docker-file.ts index 12cee9aa9..13bc05fc6 100644 --- a/packages/server/src/utils/builders/docker-file.ts +++ b/packages/server/src/utils/builders/docker-file.ts @@ -32,7 +32,14 @@ export const getDockerCommand = (application: ApplicationNested) => { const dockerContextPath = getDockerContextPath(application) || defaultContextPath; - const commandArgs = ["build", "-t", image, "-f", dockerFilePath, dockerContextPath]; + const commandArgs = [ + "build", + "-t", + image, + "-f", + dockerFilePath, + dockerContextPath, + ]; if (dockerBuildStage) { commandArgs.push("--target", dockerBuildStage); diff --git a/packages/server/src/utils/filesystem/directory.ts b/packages/server/src/utils/filesystem/directory.ts index edbc77d67..6865c576d 100644 --- a/packages/server/src/utils/filesystem/directory.ts +++ b/packages/server/src/utils/filesystem/directory.ts @@ -142,10 +142,5 @@ export const getDockerContextPath = (application: Application) => { return null; } - return path.join( - APPLICATIONS_PATH, - appName, - "code", - dockerContextPath, - ); + return path.join(APPLICATIONS_PATH, appName, "code", dockerContextPath); };