Join Troy Miles for an in-depth discussion in this video Creating a Dockerfile, part of Web Servers and APIs using C++.
- [Instructor] I'm going to work from the desktop folder…to make it simpler to find my projects later.…I recommend that you do the same.…From the desktop, create a directory called cppweb,…mkdir cppweb, and CD into it, cd cppweb.…From this directory, let's create one called cppbox,…mkdir cppbox, and then CD into that directory as well.…Now from here, we're gonna type atom space Dockerfile,…and Docker has a capital D, and it's all one word,…and hit enter.…
Please keep the terminal window open though,…'cause we'll use it quite a bit later.…The Dockerfile is the blueprint we'll use to create…our Docker image.…Luckily, we don't have to start from scratch.…We can base our new image on an older…and well-proven one.…We'll use the official gccdockerimage to seed ours.…GCC stands for the GNU Compiler Collection.…It is a C++ compiler and a few other tools.…Each line of our Dockerfile begins with a command,…which is all uppercase, then a space,…end the command to execute.…
If a line gets too long, we can use a backslash…to continue it on the next.…
- Working with Crow, the C++ micro web framework
- Deploying containers to Heroku
- Building websites and webpages
- Accessing data from a database
- Accessing data via RESTful APIs
- Creating API endpoints
- Running WebSockets on Heroku
Skill Level Intermediate
1. Installing Our Tools
2. Deploying to Heroku
Installing the Heroku CLI1m 17s
3. Building Websites
4. Data Access
5. RESTful APIs
6. WebSockets and Crow
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.