@app.route('/version')
def version() -> str:
    '\n        DOCKER_IMAGE_TAG is passed in the app from Dockerfile as ARG.\n        It should be setup in docker build task..\n        It is used in .gitlab-ci.yaml to pass the hash of the latest commit as docker image tag.\n        E.g. docker build --build-arg docker_image_tag="my-version" -t my-image-name:my-version .\n        '
    return (getenv('DOCKER_IMAGE_TAG') or "DOCKER_IMAGE_TAG haven't been setup")
DOCKER_IMAGE_TAG is passed in the app from Dockerfile as ARG.
It should be setup in docker build task..
It is used in .gitlab-ci.yaml to pass the hash of the latest commit as docker image tag.
E.g. docker build --build-arg docker_image_tag="my-version" -t my-image-name:my-version .
@app.route('/version')
def version() -> str:
    '\n        DOCKER_IMAGE_TAG is passed in the app from Dockerfile as ARG.\n        It should be setup in docker build task..\n        It is used in .gitlab-ci.yaml to pass the hash of the latest commit as docker image tag.\n        E.g. docker build --build-arg docker_image_tag="my-version" -t my-image-name:my-version .\n        '
    return (getenv('DOCKER_IMAGE_TAG') or "DOCKER_IMAGE_TAG haven't been setup")