初始化

master
晨哀 2024-07-31 19:32:06 +08:00
parent 05e56d09ec
commit 7db22e6593
1 changed files with 2 additions and 2 deletions

View File

@ -9,10 +9,10 @@ ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$Tz /etc/localtime && echo '$TZ' > /etc/timezone 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包 #拷贝执行jar包
COPY ./target/cloud-modules-file.jar /home/app.jar COPY ./target/cloud-file.jar /home/app.jar
#构建启动命令 #构建启动命令
ENTRYPOINT ["java","-jar"] ENTRYPOINT ["java","-jar"]