Updates the Dockerfile to facilitate local image builds, adds documentation for how to build, adds registry caching for final image too

This commit is contained in:
Trenton Holmes committed 2022-04-30 10:33:09 -07:00
1 parent 0f1e31643d
commit 49fad14920
5 files changed
+62 -99

No files matched your search

+7 -1
View File
@@ -334,11 +334,17 @@ directory.
Building the Docker image
=========================
The docker image is primarily built by the GitHub actions workflow, but it can be
faster when developing to build and tag an image locally.
To provide the build arguments automatically, build the image using the helper
script ``build-docker-image.sh``.
Building the docker image from source:
.. code:: shell-session
docker build . -t <your-tag>
./build-docker-image.sh Dockerfile -t <your-tag>
Extending Paperless
===================