1 Star 0 Fork 111

waotech/CookIM

forked from cookeem/CookIM 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 655 Bytes
一键复制 编辑 原始数据 按行查看 历史
cookeem 提交于 2017-06-15 12:23 . Add jenkins CI
# Notice! Don't use openjdk:latest docker image, it's too big and will build fail in docker:DinD
FROM openjdk:alpine
MAINTAINER cookeem@qq.com
RUN mkdir -p /root/cookim/
ADD target/scala-2.11/CookIM-assembly-0.2.0-SNAPSHOT.jar /root/cookim/cookim.jar
ADD conf /root/cookim/conf
ADD www /root/cookim/www
WORKDIR /root/cookim
RUN echo '#!/bin/ash' >> /root/cookim/run.sh
RUN echo 'java -classpath "/root/cookim/cookim.jar" com.cookeem.chat.CookIM -n -h $HOST_NAME -w $WEB_PORT -a $AKKA_PORT -s $SEED_NODES' >> /root/cookim/run.sh
RUN chmod a+x /root/cookim/run.sh
CMD [ "/root/cookim/run.sh" ]
# sbt clean assembly
# docker build -t cookeem/cookim .
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Scala
1
https://gitee.com/geekcheng/CookIM.git
git@gitee.com:geekcheng/CookIM.git
geekcheng
CookIM
CookIM
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385