摘要: docker创建的容器进行vim操作需要安装Vim #这个命令的作用是:同步 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的索引,这样才能获取到最新的软件包。 apt-get update apt-get install -y vim 阅读全文
posted @ 2022-05-29 10:31 DeyouKong 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 一、打包vue项目 npm run build 二、docker网上拉取nginx镜像 docker pull nginx 三、vue项目打包文件放到服务器上,创建 dockerfile(参考第八点,将nginx配置文件放置在宿主机,通过dockerfile复制到镜像指定文件) [root@VM-1 阅读全文
posted @ 2022-05-29 00:41 DeyouKong 阅读(1590) 评论(0) 推荐(1) 编辑