Skip to content

Commit

Permalink
fix(build): correct venv path in containers
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 23, 2023
1 parent 9bff64c commit 348a4e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/Containerfile.cpu.buster
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN pip3 install virtualenv --upgrade

RUN python3 -m venv onnx_env

ENV PATH="/onnx-web/api/onnx_web/bin:$PATH"
ENV PATH="/onnx-web/api/onnx_env/bin:$PATH"

RUN pip3 install pip --upgrade

Expand Down
2 changes: 1 addition & 1 deletion api/Containerfile.cuda.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get -y update \

RUN python3 -m venv onnx_env

ENV PATH="/onnx-web/api/onnx_web/bin:$PATH"
ENV PATH="/onnx-web/api/onnx_env/bin:$PATH"

RUN pip3 install pip --upgrade

Expand Down
2 changes: 1 addition & 1 deletion api/Containerfile.directml.buster
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN pip3 install virtualenv --upgrade

RUN python3 -m venv onnx_env

ENV PATH="/onnx-web/api/onnx_web/bin:$PATH"
ENV PATH="/onnx-web/api/onnx_env/bin:$PATH"

RUN pip3 install pip --upgrade

Expand Down
2 changes: 1 addition & 1 deletion api/Containerfile.rocm.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN pip3 install virtualenv --upgrade

RUN python3 -m venv onnx_env

ENV PATH="/onnx-web/api/onnx_web/bin:$PATH"
ENV PATH="/onnx-web/api/onnx_env/bin:$PATH"

RUN pip3 install pip --upgrade

Expand Down

0 comments on commit 348a4e2

Please sign in to comment.