在我的应用程序中,我有5个docker容器,每个容器都从Dockerfile构建的映像开始.以下是结构:
-projectdir
-docker
-application1
-Dockerfile
-script.sh
-application2
-Dockerfile
-script.sh
-application3
-Dockerfile
-application4
-Dockerfile
-script.sh
-application5
-Dockerfile
Run Code Online (Sandbox Code Playgroud)
script.sh被复制到应用程序1,2和4中的Dockerfile中.问题是我必须在每个应用程序目录中放置相同的script.sh. 有没有办法使用包含单个script.sh的共享文件夹并从中复制?我正在使用docker-compose来构建和运行容器.
到目前为止,我知道深度学习是机器学习的一个子集.我知道一些算法,它的实现如KNN,Naive bayes等机器学习.是否有任何特定的算法来表示和实施深度学习?