单目3D初始代码
This commit is contained in:
19
docker/Dockerfile-cpu
Executable file
19
docker/Dockerfile-cpu
Executable file
@@ -0,0 +1,19 @@
|
||||
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
|
||||
|
||||
# Builds ultralytics/ultralytics:latest-cpu image on DockerHub https://hub.docker.com/r/ultralytics/ultralytics
|
||||
# Lightweight CPU image optimized for inference (extends latest-python)
|
||||
|
||||
# Build from Ultralytics Python image
|
||||
FROM ultralytics/ultralytics:latest-python
|
||||
|
||||
# Set default command to bash
|
||||
CMD ["/bin/bash"]
|
||||
|
||||
# Usage --------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# Production builds: https://github.com/ultralytics/ultralytics/blob/main/.github/workflows/docker.yml
|
||||
# Example (build): t=ultralytics/ultralytics:latest-cpu && docker build -f docker/Dockerfile-cpu -t $t .
|
||||
# Example (push): docker push $t
|
||||
# Example (pull): t=ultralytics/ultralytics:latest-cpu && docker pull $t
|
||||
# Example (run): docker run -it --ipc=host $t
|
||||
# Example (run-with-volume): docker run -it --ipc=host -v "$PWD/shared/datasets:/datasets" $t
|
||||
Reference in New Issue
Block a user