My website Dockerized.
$ docker build -t "skiqqy:latest" .
- Set to 0: Deploys the website as intended, to update one must exec a pull inside the container.
- Set to 1: Injects warning text into the html to specify that it is the development instance, and pulls from origin/dev every 10 seconds.
Something like,
$ docker run --name skiqqy_instance \
-p 80:80 \
--env DEV=0 \
skiqqy:latest
- Dev
- Only build when changes have been pulled.