cognos-io / chat.cognos.io

0 stars 0 forks source link

Switch to pulling image from docker hub #95

Closed kisamoto closed 3 weeks ago

kisamoto commented 3 weeks ago

This PR adds the ability to push and pull the image from Docker Hub.

Advantage of this is that we're no longer building the image on the server. Decreases deployment time and doesn't use any resources on the server which means minimal influence on operations.

We should still do a git-pull before running the Docker compose commands on the server just to ensure we have the updated files (e.g. docker-compose.yml) but now the server will only pull the latest image rather than consuming CPU to build it.