Execute command after deploy AWS Beanstalk

前端 未结 3 1723
无人共我
无人共我 2020-12-19 00:30

I have problem with execute command after deploy, i have some node.js project and script, this script use some bin from node_modules, if i write my command for script in .eb

3条回答
  •  执笔经年
    2020-12-19 01:04

    create a file called .ebextensions/post_actions.config:

    container_commands:
     :
        command: ""
    

    this will be executed after the code was extracted, but before it was launched.

提交回复
热议问题