Dockerfile之SpringBoot的镜像构建
摘要:编写Dockerfile # 镜像来源的基础 FROM java:8 # 创建镜像容器时,会在Docker容器中创建对应的文件夹,因为SpringBoot内嵌的Tomcat工作路径需要这个文件夹。 VOLUME /tmp # 拷贝宿主机的文件到容器中 COPY /usr/local/xxx.log 
        阅读全文
        
            posted @ 2022-04-20 21:34
            posted @ 2022-04-20 21:34
            posted @ 2022-04-20 21:18
            posted @ 2022-04-20 15:31