Take the 2-minute tour ×

Does anyone know for sure exactly how the bin/compile phase of a buildpack relates to the slug and deployment? Does the entire BUILD_DIR from the compile phase get tgz'd and unpacked at /app?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Yes, as specified in the buildpack documentation:

The application in BUILD_DIR along with all changes made by the compile script will be packaged into a slug.
share|improve this answer
Ah ok. That sentence is pretty vague; I figured if it were that simple they'd say that "the contents of BUILD_DIR after bin/compile finishes running will be deployed as /app (aka the slug)" it would've been more clear. Also I am not clear on if the only thing in /app is BUILD_DIR or if there is stuff there before the slug is dumped in there. –  apinstein Jan 21 '13 at 1:29
add comment

Your Answer


