mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-05 06:20:10 +01:00
update cf generation script to not crash docker deployment
This commit is contained in:
parent
4dd1887bd1
commit
668a49c826
@ -90,7 +90,7 @@
|
||||
"sudo systemctl enable docker\n",
|
||||
"sudo systemctl start docker\n",
|
||||
"sudo yum install git -y\n",
|
||||
"git clone -b cloud-deploy https://github.com/Mintplex-Labs/anything-llm.git /home/ec2-user/anything-llm\n",
|
||||
"git clone https://github.com/Mintplex-Labs/anything-llm.git /home/ec2-user/anything-llm\n",
|
||||
"cd /home/ec2-user/anything-llm/docker\n",
|
||||
"cat >> .env << \"END\"\n",
|
||||
"!SUB::USER::CONTENT!",
|
||||
|
@ -37,7 +37,7 @@ const settings = fs.readFileSync(envPath, "utf8")
|
||||
.replace(/^\s*\n/gm, "")
|
||||
.split('\n')
|
||||
.filter((i) => !!i)
|
||||
|
||||
.map((i) => i + '\n')
|
||||
|
||||
const templatePath = path.resolve(__dirname, `cf_template.template`);
|
||||
const templateString = fs.readFileSync(templatePath, "utf8");
|
||||
|
Loading…
Reference in New Issue
Block a user