Docker layer reorganization 2 (#362)
This commit is contained in:
parent
46ed5ff75e
commit
ac628c0d3e
3 changed files with 11 additions and 11 deletions
|
|
@ -27,9 +27,8 @@ RUN git clone https://github.com/ultralytics/ultralytics /usr/src/ultralytics
|
|||
COPY requirements.txt .
|
||||
RUN python3 -m pip install --upgrade pip wheel
|
||||
RUN pip install --no-cache ultralytics albumentations gsutil notebook \
|
||||
coremltools onnx onnx-simplifier onnxruntime tensorflow-cpu tensorflowjs \
|
||||
openvino-dev \
|
||||
# tensorflowjs \
|
||||
coremltools onnx onnx-simplifier onnxruntime tensorflow-cpu \
|
||||
# openvino-dev tensorflowjs \
|
||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
# Cleanup
|
||||
|
|
@ -39,7 +38,7 @@ ENV DEBIAN_FRONTEND teletype
|
|||
# Usage Examples -------------------------------------------------------------------------------------------------------
|
||||
|
||||
# Build and Push
|
||||
# t=ultralytics/ultralytics:latest-cpu && sudo docker build -f utils/docker/Dockerfile-cpu -t $t . && sudo docker push $t
|
||||
# t=ultralytics/ultralytics:latest-cpu && sudo docker build -f docker/Dockerfile-cpu -t $t . && sudo docker push $t
|
||||
|
||||
# Pull and Run
|
||||
# t=ultralytics/ultralytics:latest-cpu && sudo docker pull $t && sudo docker run -it --ipc=host -v "$(pwd)"/datasets:/usr/src/datasets $t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue