fix: copy the specified Procfile into place at the earliest possibility
This commit is contained in:
@@ -21,7 +21,7 @@ func canScaleApp(appName string) bool {
|
||||
|
||||
func extractProcfile(appName, image string) error {
|
||||
destination := getProcfilePath(appName)
|
||||
common.CopyFromImage(appName, image, reportComputedProcfilePath(appName), destination)
|
||||
common.CopyFromImage(appName, image, "Procfile", destination)
|
||||
if !common.FileExists(destination) {
|
||||
common.LogInfo1Quiet("No Procfile found in app image")
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user