1 Star 0 Fork 4

mickelfeng / abel

forked from Gitee 极速下载 / abel 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 298 Bytes
一键复制 编辑 原始数据 按行查看 历史
hahajava 提交于 2020-07-20 15:40 . docker 部署
FROM golang:alpine
# 为我们的镜像设置必要的环境变量
ENV GO111MODULE=on \
CGO_ENABLED=0 \
GOOS=linux \
GOARCH=amd64 \
GOPROXY=https://goproxy.cn,direct
WORKDIR $GOPATH/app
COPY . $GOPATH/app
RUN go mod download
RUN go build main.go
EXPOSE 8080
ENTRYPOINT ["./main"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mickelfeng/abel.git
git@gitee.com:mickelfeng/abel.git
mickelfeng
abel
abel
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891