mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-19 16:04:36 +01:00
generate-docker-compose should use docker, add .sh
This commit is contained in:
@@ -101,11 +101,16 @@ namespace DockerGenerator
|
||||
|
||||
private string FindLocation(string path)
|
||||
{
|
||||
string directory = path;
|
||||
int i = 0;
|
||||
while(true)
|
||||
{
|
||||
if(i > 10)
|
||||
throw new DirectoryNotFoundException(directory);
|
||||
if(Directory.Exists(path))
|
||||
return path;
|
||||
path = Path.Combine("..", path);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user