Building Docker images

Dockerfile - configuration file for building images.

Python:

FROM ubuntu:15.04
COPY . /app
RUN make /app
CMD python /app/app.py

Node.js:

FROM node:12
WORKDIR /usr/src/app
COPY package.json .
RUN npm install
COPY . .
CMD [ "npm", "start" ]

To build an image:

docker build .