diff --git a/bin/compile b/bin/compile index 56335c8a153b79ad229c550598948a7dacedefea..fd549aea004984c0d9fbd34377b5c697ef07e1ee 100755 --- a/bin/compile +++ b/bin/compile @@ -55,11 +55,13 @@ export PATH=$PATH:$ROOT_DIR/vendor/pip-pop [ ! "$REQUEST_ID" ] && REQUEST_ID=$SLUG_ID [ ! "$STACK" ] && STACK=$DEFAULT_PYTHON_STACK + # Sanitizing environment variables. unset GIT_DIR PYTHONHOME PYTHONPATH unset RECEIVE_DATA RUN_KEY BUILD_INFO DEPLOY LOG_TOKEN DYNO unset CYTOKINE_LOG_FILE GEM_PATH + # Setup buildpack instrumentation. bpwatch init $LOGPLEX_KEY bpwatch build python $BUILDPACK_VERSION $REQUEST_ID @@ -92,7 +94,8 @@ if [[ ! "$DOCKER_BUILD" ]]; then # Copy Application code in. bpwatch start appdir_stage - deep-cp $BUILD_DIR $APP_DIR + # deep-cp $BUILD_DIR $APP_DIR + ln -s $BUILD_DIR/* $APP_DIR bpwatch stop appdir_stage fi