mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(libstack): compose project working directory [BE-11751] (#600)
This commit is contained in:
parent
f6f07f4690
commit
1b8fbbe7d7
2 changed files with 6 additions and 6 deletions
|
@ -312,10 +312,6 @@ func createProject(ctx context.Context, configFilepaths []string, options libsta
|
|||
workingDir = filepath.Dir(configFilepaths[0])
|
||||
}
|
||||
|
||||
if options.WorkingDir != "" {
|
||||
workingDir = options.WorkingDir
|
||||
}
|
||||
|
||||
if options.ProjectDir != "" {
|
||||
// When relative paths are used in the compose file, the project directory is used as the base path
|
||||
workingDir = options.ProjectDir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue