From e2717cf3aa23a1e94613d0e45acfb4c5d7ba90c8 Mon Sep 17 00:00:00 2001 From: Christian Kuhtz Date: Mon, 15 Jul 2024 00:08:46 +0000 Subject: [PATCH] bump --- api/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index 8c71b74..73cf77b 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -18,7 +18,9 @@ RUN apt-get update && \ # Get the Python version and store it in env RUN PY_VERSION=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')") \ - && echo "PY_VERSION=$PY_VERSION" >> /etc/environment + && echo "PY_VERSION=$PY_VERSION" >> /etc/environment \ + && echo "export PY_VERSION=$PYTHON_VERSION" >> ~/.bashrc + RUN . /etc/environment RUN echo "python version: $PY_VERSION"