COPY 文件夾 一、不能全路徑; 二、directory01後面有 "/"html
COPY directory01/ /root/workspace/src/directory01/
用 WORKDIR 代替 cdgit
WORKDIR /root/workspace/src/test-project
CMDdocker
CMD ./gogogo
EXPOSE 不要省略ui
EXPOSE 8080
https://yeasy.gitbooks.io/docker_practice/content/image/build.htmlspa