#Custom Docker image

You can execute updates with a custom Docker image. Just make sure the @pmbotio/cli and Node 12 are available.

Here is an example file:

FROM node:12
RUN npm install -g @pmbotio/cli
# ... add whatever you need here

To publish this Docker image to Docker hub:

docker build -t my-pmbot-image .
docker login
docker push my-pmbot-image