【问题标题】:How do the results of /bin/compile in a Heroku buildpack relate to the slug?Heroku buildpack 中 /bin/compile 的结果与 slug 有什么关系?
【发布时间】:2013-01-19 23:30:15
【问题描述】:

有谁确切地知道 buildpack 的 bin/compile 阶段与 slug 和部署有何关系?编译阶段的整个 BUILD_DIR 是否会在 /app 处进行 tgz'd 和解包?

【问题讨论】:

    标签: heroku buildpack


    【解决方案1】:

    是的,如buildpack documentation中所述:

    The application in BUILD_DIR along with all changes made by the compile script will be packaged into a slug.
    

    【讨论】:

    • 嗯,好的。那句话很模糊;我想如果它很简单,他们会说“bin/compile 完成运行后 BUILD_DIR 的内容将部署为 /app(又名 slug)”它会更清楚。我也不清楚 /app 中的 only 是否是 BUILD_DIR 或者在将 slug 倾倒在那里之前是否有东西。
    猜你喜欢
    • 2017-05-26
    • 2012-11-27
    • 1970-01-01
    • 1970-01-01
    • 2014-05-22
    • 2019-09-14
    • 2011-08-19
    • 1970-01-01
    • 2016-12-04
    相关资源
    最近更新 更多