From the course: Complete Guide to AWS Software Deployment

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Run the demo app locally with Docker

Run the demo app locally with Docker

- [Instructor] All right, in order to get started, deploying containers to Elastic Container Service on AWS, we're first going to need an app that runs in a container, and it just so happens that the demo app contains a Docker file with everything you need to build a working version of the app as a docker image. So let's take a look at that now. Here in the root of the app, I'm going to open up the Docker file, and I won't go into everything that's in here. There are other videos in this library that get into how Docker works, but I just want to point out that it's doing a lot of the things that we've seen as preliminary stages to deploying this app in other contexts. So we're installing packages on the operating system, we're doing the bundle install to install dependencies at the gym file, things like that. Finally, at the end here, before we start the rail server, we're exposing Port 3000. That's the port that the server, Puma, is going to run on. So we'll take that into account…

Contents