Skip to content

Commit 5f909b5

Browse files
author
Matthew Fisher
committed
Merge pull request #876 from deis/no-procfile-check
fix(builder): do not check for a Procfile
2 parents d46f59f + 15751ad commit 5f909b5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

builder/templates/builder

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,9 @@ if __name__ == '__main__':
5555
rc = p.wait()
5656
if rc != 0:
5757
raise Exception('Could not extract git archive')
58-
# check for Procfile
5958
dockerfile = os.path.join(temp_dir, 'Dockerfile')
60-
procfile = os.path.join(temp_dir, 'Procfile')
61-
if not os.path.exists(dockerfile) and os.path.exists(procfile):
59+
# some applications do not have a Procfile, so only check for a Dockerfile
60+
if not os.path.exists(dockerfile):
6261
if os.path.exists('/buildpacks'):
6362
build_cmd = "docker run -i -a stdin -v {cache_dir}:/tmp/cache:rw -v /buildpacks:/tmp/buildpacks deis/slugbuilder".format(**locals())
6463
else:

0 commit comments

Comments
 (0)