需要使用bitbucket-pipeline将Node.js docker映像部署到AWS Elastic Beanstalk

问题描述 投票:0回答:1

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

node.js amazon-elastic-beanstalk bitbucket-pipelines
1个回答
0
投票

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

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

在脚本部分,然后您需要运行docker-compose命令来构建并推送映像。

© www.soinside.com 2019 - 2024. All rights reserved.