【问题标题】:Need to deploy Node.js docker image to AWS Elastic Beanstalk using bitbucket-pipeline需要使用 bitbucket-pipeline 将 Node.js docker 映像部署到 AWS Elastic Beanstalk
【发布时间】:2020-01-29 07:42:20
【问题描述】:

我需要将 Node.js docker 映像从 dockerhub 部署到 Elastic Beanstalk。我正在构建映像,然后将其推送到 hub.docker.com 现在我想使用 bitbucket-pipeline 将来自 hub.docker.com 的映像部署到 AWS Elastic Beanstalk。管道没有构建镜像并将其推送到 hub.docker.com,我现在想使用管道部署镜像。

【问题讨论】:

    标签: node.js amazon-elastic-beanstalk bitbucket-pipelines


    【解决方案1】:

    只需将以下内容用作 bitbucket-pipeline.yml 的第一行:

    image: node # or whatever is the image name you built on docker hub
    

    在脚本部分,你需要运行 docker-compose 命令来构建和推送镜像。

    【讨论】:

      猜你喜欢
      • 2020-06-23
      • 2022-01-08
      • 2020-07-03
      • 2014-12-16
      • 2015-10-02
      • 2014-12-25
      • 2014-11-12
      • 2020-04-11
      • 2016-10-16
      相关资源
      最近更新 更多