初始化
parent
05e56d09ec
commit
7db22e6593
|
@ -9,10 +9,10 @@ ENV TZ=Asia/Shanghai
|
|||
RUN ln -snf /usr/share/zoneinfo/$Tz /etc/localtime && echo '$TZ' > /etc/timezone
|
||||
|
||||
#挂载工作目录
|
||||
VOLUME ["/home/logs/cloud-modules-file","/home/uploadPath"]
|
||||
VOLUME ["/home/logs/cloud-file","/home/uploadPath"]
|
||||
|
||||
#拷贝执行jar包
|
||||
COPY ./target/cloud-modules-file.jar /home/app.jar
|
||||
COPY ./target/cloud-file.jar /home/app.jar
|
||||
|
||||
#构建启动命令
|
||||
ENTRYPOINT ["java","-jar"]
|
||||
|
|
Loading…
Reference in New Issue