RDFLib / prez

Prez is a data-configurable Linked Data API framework that delivers profiles of Knowledge Graph data according to the Content Negotiation by Profile standard.
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

build: add PREZ_VERSION environment variable to Dockerfile #216

Closed edmondchuc closed 6 months ago

edmondchuc commented 6 months ago

I was hoping that the prez version is read from pyproject.toml but it is not being set when the container image is built via GH Actions for some reason.

This PR sets the PREZ_VERSION environment variable in the Dockerfile itself. The prez application will use this as the fallback version if it cannot read from pyproject.toml.