File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,8 +127,7 @@ USER runner
127127WORKDIR ${APP_HOME}
128128
129129# Ensure user-installed CLI tools are available in all shells (sh/bash, interactive/non-interactive)
130- ENV PATH="${APP_HOME}/.local/bin:${PATH}"
131-
130+ ENV PATH="/usr/local/bin:${APP_HOME}/.uv/bin:${APP_HOME}/.poetry/bin:${APP_HOME}/.local/bin:${PATH}"
132131# Install Poetry latest version and add it to PATH
133132# hadolint ignore=DL4006
134133RUN curl -sSL https://install.python-poetry.org | python3 -
@@ -137,5 +136,5 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
137136# hadolint ignore=DL4006
138137RUN curl -LsSf https://astral.sh/uv/install.sh | sh
139138
140- # Add Poetry and UV to PATH
141- RUN echo "export PATH=\" ${APP_HOME}/.local/bin:\$ PATH\" " >> ~/.bashrc
139+ # Add user tool paths to interactive shell PATH
140+ RUN echo "export PATH=\" /usr/local/bin:${APP_HOME}/.uv/bin:${APP_HOME}/.poetry/bin: ${APP_HOME}/.local/bin:\$ PATH\" " >> ~/.bashrc
You can’t perform that action at this time.
0 commit comments