Skip to content

Commit e5984fe

Browse files
author
Matthew Fisher
committed
fix(builder): set /app as working directory for apps
When you run commands with Heroku, you are running under /app as the intial directory.
1 parent 1aa3251 commit e5984fe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

builder/templates/builder

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ def parse_args():
2727

2828
DOCKERFILE_SHIM = """FROM deis/slugrunner
2929
RUN mkdir -p /app
30-
ADD slug.tgz /app
30+
WORKDIR /app
3131
ENTRYPOINT ["/runner/init"]
32+
ADD slug.tgz /app
3233
"""
3334

3435

0 commit comments

Comments
 (0)