Document the fact that we publish the deploystatic container on ghcr
authorMagnus Hagander <magnus@hagander.net>
Sun, 14 Sep 2025 12:14:19 +0000 (14:14 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 14 Sep 2025 12:14:19 +0000 (14:14 +0200)
tools/deploystatic/README.docker

index ed6ecc234877504abda583da08f5558c08e6afaf..460a5487431adf32d59b5cc8f0d1c7148d830ef6 100644 (file)
@@ -1,10 +1,19 @@
+Building/Pulling
+----------------
 If you have trouble with the dependencies, the Dockerfile in this
 directory will build a simple container that you can use. For
 example:
 
 docker build -t deploystatic .
 
+The container is also available to pull with:
 
+docker pull ghcr.io/pgeu/deploystatic
+
+And in this case, in the examples below replace the containername with ghcr.io/pgeu/deploystatic.
+
+Deploying a directory
+---------------------
 To use this container to deploy to a static directory, use:
 
 docker run -it --rm -v `pwd`:/source -v /tmp/statictest:/target deploystatic
@@ -15,6 +24,8 @@ result to /tmp/statictest - adjust for your own directories)
 You can also just specify the default parameters as docker arguments.
 
 
+Previewing a directory
+----------------------
 You can also use the docker container to run a simple static webserver with
 the output of the static directory like this: