Skip to content

Commit

Permalink
Merge pull request #216 from RDFLib/edmond/docker
Browse files Browse the repository at this point in the history
build: add PREZ_VERSION environment variable to Dockerfile
  • Loading branch information
edmondchuc authored Apr 2, 2024
2 parents 240dfd5 + 2777217 commit 7a7f028
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ARG PREZ_VERSION
ARG PYTHON_VERSION=3.12
ARG POETRY_VERSION=1.8.1
ARG VIRTUAL_ENV=/opt/venv
Expand Down Expand Up @@ -35,6 +36,8 @@ RUN pip install --no-cache-dir dist/*.whl
#
FROM python:${PYTHON_VERSION}-alpine AS final

ARG PREZ_VERSION
ENV PREZ_VERSION=${PREZ_VERSION}
ARG VIRTUAL_ENV
ENV VIRTUAL_ENV=${VIRTUAL_ENV} \
PATH=${VIRTUAL_ENV}/bin:/root/.local/bin:${PATH}
Expand Down

0 comments on commit 7a7f028

Please sign in to comment.