Skip to content

Docker: Build and Install

Eduard Marbach edited this page Apr 22, 2020 · 6 revisions

Docker

Build the image

Following steps are required to build the docker image:

  1. Build the necessary zip-file for docker. Will be done via grunt tasks. (Commands grunt build:docker)
  2. Build the docker image with the provided Dockerfile. (Commands docker build -t restyaplatform/restyaboard .)

The steps are concatenated via a npm script (check package.json). The grunt-cli have to be installed in first place. Then you can run npm run docker:fullbuild

Publish image

To publish the image you have to use the CLI of docker. Check HERE

Install/Start

The restyaboard platform will be available through docker hub and the specified name.

Depending on what you need:

You may need to adjust the image field of the restyaboard service depending on what you need:

    image: restyaplatform/restyaboard:dev

Then just run docker-compose up -d and everything will startup (docker-compose down for removing everything).

Clone this wiki locally