Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Hello PlayWright 有设置命令playwright install,需要先运行才能使用。在运行我的 Django 应用程序之前,如何在 GCP 的应用程序引擎上设置安装脚本来运行此命令?
playwright install
您可以playwright通过将其添加到requirement.txt. 重新部署后,它将与您的应用程序一起自动安装。
playwright
requirement.txt
例如requirement.txt:
playwright==1.9.2
但是如果它需要另一个命令来安装,你应该使用 App Engine Flexible。在 App Engine Flexible 中,您可以使用 Dockerfile 运行另一个命令和其他配置来安装其他依赖项和应用程序。