Exercise Solution
In this lesson, we will go over the step-by-step solution for the exercise: Build an Image and Run It.
We'll cover the following...
- Create a file named Dockerfile and add the following code to it:
Press + to interact
FROM node:11-alpineCOPY compute.js .CMD node compute.js
-
Open a command-line. ...