-
Notifications
You must be signed in to change notification settings - Fork 383
Docker: Build and Install
Eduard Marbach edited this page Apr 22, 2020
·
6 revisions
Following steps are required to build the docker image:
- Build the necessary zip-file for docker. Will be done via grunt tasks. (Commands
grunt build:docker
) - 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
To publish the image you have to use the CLI of docker. Check HERE
The restyaboard platform will be available through docker hub and the specified name.
Depending on what you need:
- local testing: https://github.com/RestyaPlatform/board/blob/dev/docker-compose.yml
- prod usage: https://github.com/RestyaPlatform/board/blob/dev/docker-compose.prod.yml
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).