EEA & Eionet documentation hub

Browse documentation for IT-systems used by the European Environment Agency and the Eionet network.

Nodejs Docker Image

eea.docker.node

Generic Node Docker image with Chaperone.

The image is based on the official node image, and extends it with chaperone.

Base docker image

Source code

Usage

The usage is similar with the official node image, with some minor changes:

  1. Dockerfile FROM eeacms/node
  2. ENTRYPOINT It’s not needed because eeacms/node has a default entrypoint what will start /code/app.js with chaperone. This can be overwritten in the applications Dockerfile A specific ENTRYPOINT what takes advantage of chaperone should look like: ENTRYPOINT ["/usr/local/bin/chaperone", "/path_to_application/my_app.js"]
  3. CMD eeacms/node defines a default CMD: “runserver”, so by default it’s not needed to be specified in the Dockerfile

Edit this page