So I'm in the process of deploying an AngularJS app to an AWS Elastic Beanstalk instance.
I've successfully configured the build requirements, which involves uploading a Dockerrun.aws.json file that's configured to access an S3 storage bucket which in turn contains the .dockercfg file, used for accessing my private Docker repo.
Everything builds successfully, and nginx runs. I get the default "Welcome to nginx on Debian!" message.
So the only thing I'm having an issue with is now pointing the build of my AngularJS app to the active/home page (where the "Welcome.." screen appears.)
All of the app's contents are stored inside /build, from the root directory of the project, which is where my Dockerfile is contained.
From what I've gathered so far I think I need to go along the lines of:
FROM nginx
COPY /build/ /usr/share/nginx/html
Placed inside the Dockerfile, however those particular commands don't work.
I'm sure it's relatively trivial achieving what I'm hoping to, but having scoured various articles and documentations I can't find a simple answer. Any help much appreciated.