mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
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:
parent
0f1e31643d
commit
49fad14920
5 changed files with 62 additions and 99 deletions
5
.github/scripts/get-build-json.py
vendored
5
.github/scripts/get-build-json.py
vendored
|
|
@ -53,10 +53,7 @@ def _main():
|
|||
git_tag = None
|
||||
extra_config = {}
|
||||
|
||||
if args.package == "frontend":
|
||||
# Version is just the branch or tag name
|
||||
version = branch_name
|
||||
elif args.package in pipfile_data["default"]:
|
||||
if args.package in pipfile_data["default"]:
|
||||
# Read the version from Pipfile.lock
|
||||
pkg_data = pipfile_data["default"][args.package]
|
||||
pkg_version = pkg_data["version"].split("==")[-1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue