【问题标题】:Running script on google app engine on deploy在部署时在谷歌应用引擎上运行脚本
【发布时间】:2017-05-30 02:03:49
【问题描述】:

我正在尝试:

  • 将我的 nodejs 应用部署到谷歌应用引擎
  • 让部署运行一个 bash 脚本来安装我的一些 npm 包需要的第三方依赖项

现在,如果我理解正确的话,我真的不能用应用引擎来做到这一点,我必须使用计算引擎?

【问题讨论】:

    标签: node.js gcloud


    【解决方案1】:

    幸运的是,该软件包默认安装在 Goole App Engine Node.js 容器中。

    https://cloud.google.com/appengine/docs/flexible/nodejs/runtime

    build-essential
    ca-certificates
    curl
    python
    libkrb5-dev
    imagemagick
    git
    

    我在找imagemagick

    如果需要自定义:https://cloud.google.com/appengine/docs/flexible/custom-runtimes/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-23
      • 2018-05-06
      相关资源
      最近更新 更多