Commit 84e1ea16 authored by jianhua.zhang's avatar jianhua.zhang

docker文件

parent dfd7522d
......@@ -5,8 +5,11 @@
二. 项目启动程序
1. com.wuban.tron.explore.ExploreApplication
2. 数据抓取地址在配置文件application-dev.yml等文件中调整
tron:
site: https://api.shasta.trongrid.io
二. 资源配置
1. Mysql、Redis可在配置文件application-dev.yml等文件中调整
2. 抓取数据地址
tron:
site: https://api.shasta.trongrid.io
\ No newline at end of file
......@@ -6,7 +6,7 @@ FROM java:8
# VOLUME 指定了临时文件目录为/tmp。
# 其效果是在主机 /var/lib/docker 目录下创建了一个临时文件,并链接到容器的/tmp
VOLUME /tmp
# 将jar包添加到容器中并更名为app.jar
# 将jar包添加到容器中并更名为tron-explore.jar
ADD tron-explore-0.0.1-SNAPSHOT.jar tron-explore.jar
# 运行jar包
RUN bash -c 'touch /tron-explore.jar'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment