...

/

Exercise Solution

Exercise Solution

In this lesson, we will go over the step-by-step solution for the exercise: Enable an Image to Be Parameterized.

We'll cover the following...
  • Create a file named Dockerfile and add the following code to it:
Press + to interact
FROM node:11-alpine
ENV diameter=4.0
COPY compute.js .
CMD node compute.js
  • Open a ...