fix(logs): improve logs in remote server when is error, and fix the env parsing to allow any values in enviroment variables

This commit is contained in:
Mauricio Siu
2024-10-13 02:27:33 -06:00
parent 8488d530f3
commit 8d41bafb93
7 changed files with 54 additions and 11 deletions
@@ -95,7 +95,7 @@ export const getDockerCommand = (
command += createEnvFileCommand(dockerFilePath, env);
}
command = `
command += `
echo "Building ${appName}" >> ${logPath};
cd ${dockerContextPath} >> ${logPath} 2>> ${logPath} || {
echo "❌ The path ${dockerContextPath} does not exist" >> ${logPath};