Revert "Set the version by reading directly the pyproject file in local (dev and Docker) - Related to #2956"

This reverts commit 604d805828.
This commit is contained in:
Branch Vincent 2024-10-23 15:16:10 -07:00
parent 604d805828
commit 6479a6c38d
No known key found for this signature in database
2 changed files with 2 additions and 5 deletions

View File

@ -106,7 +106,7 @@ COPY ./glances/. /app/glances/
# Copy pyproject file in order to have the version
# Note: Glances is not installed as a Pypi pkg in Docker
COPY ./pyproject.toml /app
COPY pyproject.toml /app
# Copy binary and update PATH
COPY docker-bin.sh /usr/local/bin/glances

View File

@ -87,10 +87,7 @@ ARG PYTHON_VERSION
# Copy Glances source code and config file
COPY ./docker-compose/glances.conf /etc/glances/glances.conf
COPY ./glances/. /app/glances/
# Copy pyproject file in order to have the version
# Note: Glances is not installed as a Pypi pkg in Docker
COPY ./pyproject.toml /app
COPY pyproject.toml /app
# Copy binary and update PATH
COPY docker-bin.sh /usr/local/bin/glances