简体   繁体   English

部署时在Google App Engine上运行脚本

[英]Running script on google app engine on deploy

I'm trying to: 我试图:

  • deploy my nodejs app to google app engine 将我的Node.js应用程序部署到Google App Engine
  • have the deploy run a bash script which installs third party dependencies which some of my npm packages require 让部署运行一个bash脚本,该脚本安装我的一些npm软件包所需的第三方依赖项

Now, if I understand correctly, I can't really do this with app engine, I must use compute engine? 现在,如果我理解正确,我真的无法使用App Engine做到这一点,我必须使用计算引擎吗?

Luckily the package is installed by default in Goole App Engine Node.js container. 幸运的是,默认情况下,该软件包已安装在Goole App Engine Node.js容器中。

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

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

I was looking for imagemagick . 我一直在寻找imagemagick

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM