1 Star 0 Fork 3

s474959009/docker_dinp_router

forked from leo108/docker_dinp_router 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 526 Bytes
一键复制 编辑 原始数据 按行查看 历史
s474959009 提交于 2016-05-14 16:26 +08:00 . Update Dockerfile
FROM golang:1.4
RUN mkdir -p $GOPATH/src/github.com/dinp \
&& cd $GOPATH/src/github.com/dinp \
&& git clone https://github.com/s474959009/gorouter \
&& cd gorouter \
&& mv Godeps/_workspace/src/code.google.com $GOPATH/src/ \
&& mv Godeps/_workspace/src/github.com/* $GOPATH/src/github.com/ \
&& go get ./... \
&& go build
WORKDIR $GOPATH/src/github.com/dinp/gorouter/
COPY router.yml $GOPATH/src/github.com/dinp/gorouter/config/router.yml
COPY run.sh /run.sh
RUN chmod +x /run.sh
EXPOSE 8082 8888
CMD ["/run.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lorep/docker_dinp_router.git
git@gitee.com:lorep/docker_dinp_router.git
lorep
docker_dinp_router
docker_dinp_router
master

搜索帮助