feat: 调整docker脚本
This commit is contained in:
1 parent
432ff24fe6
commit
98c9c358e7
25 files changed
+68
-62
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# 基础镜像
|
||||
FROM openjdk:8-jre
|
||||
# author
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-visual-monitor.jar /home/wfc/wfc-visual-monitor.jar
|
||||
# 启动系统服务
|
||||
ENTRYPOINT ["java","-jar","wfc-visual-monitor.jar"]
|
||||
@@ -0,0 +1 @@
|
||||
存放监控中心打包好的jar文件,用于docker启动应用。
|
||||
Reference in new issue
Block a user