File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/bentoml/_internal/container/frontend/dockerfile/templates Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,9 @@ ENV PATH=/app/.venv/bin:${PATH}
9494
9595COPY --chown={{ bento__user }}:{{ bento__user }} ./env/python ./env/python/
9696# install python packages
97- {% call common .RUN (__enable_buildkit__ ) -%} {{ __secret_mounts__ }} {{ __pip_cache__ }} {% endcall -%} if [ -d ./env/python/wheels ]; \
98- then INSTALL_ROOT="./env/python/ "; \
99- else INSTALL_ROOT="./src "; \
97+ {% call common .RUN (__enable_buildkit__ ) -%} {{ __secret_mounts__ }} {{ __pip_cache__ }} {% endcall -%} if [ -d ./src ]; \
98+ then INSTALL_ROOT="./src "; \
99+ else INSTALL_ROOT="./env/python "; \
100100 fi; {{ __secret_exports__ }}uv --directory $INSTALL_ROOT pip install -r $BENTO_PATH/env/python/requirements.txt
101101
102102{% for command in __options__post_commands %}
You can’t perform that action at this time.
0 commit comments