随笔分类 - Go
摘要:分别映射 /app 和 /go 目录。示例: docker run --rm -it \ -v /home/txl/pro:/app \ -v /home/txl/gopath:/go \ -w /app \ -e CGO_ENABLED=0 \ -e GOPROXY=https://goproxy
阅读全文
摘要:Goland同步代码 配置一个deployment 这里go代码全部会放在服务器 ~/myweb/src 文件夹下面 使用golang容器编译 docker run --rm -it \ -v /home/txl/myweb:/app \ -v /home/txl/gopath:/go \ -w /
阅读全文