feat: expose current version

This commit is contained in:
Herculino Trotta
2025-01-31 11:15:15 -03:00
parent aae85ecf94
commit 85794f5c01
6 changed files with 33 additions and 9 deletions
+3
View File
@@ -10,6 +10,9 @@ RUN pip wheel --wheel-dir /usr/src/app/wheels -r requirements.txt
FROM python:3.11-slim-bookworm AS python-run-stage
ARG VERSION=dev
ENV APP_VERSION=$VERSION
WORKDIR /usr/src/app
ENV PYTHONDONTWRITEBYTECODE=1 \
+4
View File
@@ -18,6 +18,10 @@ RUN --mount=type=cache,target=/root/.npm \
npm run build
FROM python:3.11-slim-bookworm AS python-run-stage
ARG VERSION=dev
ENV APP_VERSION=$VERSION
COPY --from=webpack_build /usr/src/frontend/build /usr/src/frontend/build
WORKDIR /usr/src/app