MEAN stack Bitbucket Pipelines Deploy Docker to AWS EB

gagan_suie December 22, 2019

How do i deploy a mean stack app docker image via bitbucket pipelines to AWS Elastic Beanstalk? 

I cannot find ANY examples or tutorials of node.js. They're all for python.

Is it even possible or am i missing something?

I keep getting missing /dist/index.js errors in AWS EB. I'm assuming my dockerfile is messed up.

1 answer

1 accepted

0 votes
Answer accepted
gagan_suie January 3, 2020

I found the answer, dont use Bitbucket Pipelines.

Use AWS CodePipeline to pull bitbucket source and use CodeBuild and ECR to build and deploy docker image to Elastic Beanstalk.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events