We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d46f59f + 15751ad commit 5f909b5Copy full SHA for 5f909b5
1 file changed
builder/templates/builder
@@ -55,10 +55,9 @@ if __name__ == '__main__':
55
rc = p.wait()
56
if rc != 0:
57
raise Exception('Could not extract git archive')
58
- # check for Procfile
59
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):
+ # some applications do not have a Procfile, so only check for a Dockerfile
+ if not os.path.exists(dockerfile):
62
if os.path.exists('/buildpacks'):
63
build_cmd = "docker run -i -a stdin -v {cache_dir}:/tmp/cache:rw -v /buildpacks:/tmp/buildpacks deis/slugbuilder".format(**locals())
64
else:
0 commit comments