mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-09-12 19:51:00 +05:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
8c9e473b4e
commit
c901260d81
@ -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);
|
||||
|
||||
@ -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);
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user