1 Star 1 Fork 3

leo108 / docker_dinp_server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 366 Bytes
一键复制 编辑 原始数据 按行查看 历史
leo108 提交于 2015-06-21 16:24 . port
FROM golang:1.4
RUN mkdir -p $GOPATH/src/github.com/dinp \
&& cd $GOPATH/src/github.com/dinp \
&& git clone https://github.com/dinp/server.git \
&& cd server \
&& go get ./... \
&& go build
WORKDIR $GOPATH/src/github.com/dinp/server/
COPY cfg.json $GOPATH/src/github.com/dinp/server/cfg.json
COPY run.sh /run.sh
RUN chmod +x /run.sh
EXPOSE 1980 1970
CMD ["/run.sh"]
1
https://gitee.com/leo108/docker_dinp_server.git
git@gitee.com:leo108/docker_dinp_server.git
leo108
docker_dinp_server
docker_dinp_server
master

搜索帮助