Improve Docker image

This commit is contained in:
Elias Schneider
2022-05-01 17:31:30 +02:00
parent d98c31f748
commit 961967f57a
5 changed files with 10 additions and 52 deletions

View File

@@ -14,6 +14,11 @@ import rl from "readline-sync";
defaultInput: "http://localhost/v1",
}
);
process.env["APPWRITE_HOST"] = process.env["APPWRITE_HOST"].replace(
"localhost",
"host.docker.internal"
);
console.info("Authenticate...");
process.env["APPWRITE_USER_TOKEN"] = await authService.getToken();