Auto-inject version into image

This commit is contained in:
2024-04-21 16:52:55 +01:00
parent 123ed8aa15
commit a4007d585b
3 changed files with 14 additions and 1 deletions

View File

@ -15,4 +15,7 @@ RUN pip install --no-cache-dir -r requirements.txt
ENTRYPOINT ["python3", "-B", "-m", "app.main"]
ARG version="dev"
ENV APP_VERSION=$version
COPY app /run/app