A generic worker service for performing recurring tasks, such as data loading.
-
Be sure you have Node version 10.15.1. If you’re using nvm, you may need to
nvm use 10.15.1
. -
Clone this repo.
-
Make this project directory the current directory, i.e.
cd dendra-worker
. -
Install modules via
npm install
. -
If all goes well, you should be able to run the predefined package scripts.
-
Make this project directory the current directory, i.e.
cd dendra-worker
. -
Build the project
docker build -t dendra:dendra-worker .
. -
Tag the desired image, e.g.
docker tag f0ec409b5194 dendra/dendra-worker:latest
. -
Push it via
docker push dendra/dendra-worker
.