Skip to content

Commit 65e7aad

Browse files
committed
dev dockerfiles overlay inference_models source build
1 parent 71736f7 commit 65e7aad

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker/dockerfiles/Dockerfile.onnx.cpu.dev

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ RUN make create_wheels
6161
RUN pip3 install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_cpu*.whl dist/inference_sdk*.whl "setuptools<=75.5.0"
6262
RUN pip3 install watchdog[watchmedo]
6363
RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then pip3 install -r requirements/requirements.vino.txt; rm -rf ~/.cache/pip; fi
64+
# For dev, overlay inference_models source build instead of pinned PyPI version
65+
RUN pip3 install --force-reinstall --no-deps --no-cache-dir ./inference_models
6466

6567

6668
WORKDIR /notebooks

docker/dockerfiles/Dockerfile.onnx.gpu.dev

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ COPY . .
104104
RUN ln -s /usr/bin/python3 /usr/bin/python
105105
RUN /bin/make create_wheels_for_gpu_notebook
106106
RUN pip3 install --no-cache-dir dist/inference_cli*.whl dist/inference_core*.whl dist/inference_gpu*.whl dist/inference_sdk*.whl "setuptools<=75.5.0"
107+
# For dev, overlay inference_models source build instead of pinned PyPI version
108+
RUN pip3 install --force-reinstall --no-deps --no-cache-dir ./inference_models
107109

108110
WORKDIR /notebooks
109111
COPY examples/notebooks .

0 commit comments

Comments
 (0)