trustgraph/Makefile
elpresidank 74cc8a4685 Squashed 'ai-context/trustgraph-templates/' content from commit 42a5fd1b
git-subtree-dir: ai-context/trustgraph-templates
git-subtree-split: 42a5fd1b678f32be378062e30451e2052ccb95dd
2026-04-05 21:09:49 -05:00

22 lines
464 B
Makefile

PACKAGE_VERSION=0.0.0
VERSION=0.0.0
all: container
package: update-package-versions
python3 -m build --sdist --outdir pkgs
update-package-versions:
echo __version__ = \"${PACKAGE_VERSION}\" > trustgraph_configurator/version.py
CONTAINER=localhost/config-svc
DOCKER=podman
container:
${DOCKER} build -f Containerfile -t ${CONTAINER}:${VERSION} \
--format docker
# On port 8081
run-container:
${DOCKER} run -i -t -p 8081:8080 ${CONTAINER}:${VERSION}