Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 15, 2024
1 parent c39d4ff commit e2717cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit e2717cf

Please sign in to comment.