Skip to content

Chase2816/docker-image-torch-flask

Repository files navigation

0. pip freeze > requirements.txt
1. 构建Dockerfile
2. 制作镜像 docker build -t yolo .  # .表示当前目录下
3. docker run -it -p 8080:8080 --name=yolo yolo
4. client.py
5. https://blog.csdn.net/qq_43100178/article/details/108869756
6. docker run -it --rm -v /home/ygwl/holmes/files/task/:/task -p 4000:9000 boat 挂载本地目录到docker镜像

About

docker制作镜像pytorch的flask部署

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published