26 Star 75 Fork 27

Bytom Blockchain/bytom

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 518 Bytes
一键复制 编辑 原始数据 按行查看 历史
HAOYUatHZ 提交于 2018-05-28 09:42 . update Dockerfile
# Build Bytom in a stock Go builder container
FROM golang:1.9-alpine as builder
RUN apk add --no-cache make git
ADD . /go/src/github.com/bytom
RUN cd /go/src/github.com/bytom && make bytomd && make bytomcli
# Pull Bytom into a second stage deploy alpine container
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /go/src/github.com/bytom/cmd/bytomd/bytomd /usr/local/bin/
COPY --from=builder /go/src/github.com/bytom/cmd/bytomcli/bytomcli /usr/local/bin/
EXPOSE 1999 46656 46657 9888
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/BytomBlockchain/bytom.git
[email protected]:BytomBlockchain/bytom.git
BytomBlockchain
bytom
bytom
15s

搜索帮助