修改DokcerFile

master
ZhangXushuo 2023-10-31 19:23:34 +08:00
parent 692b8984f6
commit 7f13f81f66
1 changed files with 2 additions and 2 deletions

View File

@ -4,10 +4,10 @@ FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/openjdk:17-8.6
EXPOSE 9300/tcp
# 挂载的目录位置
VOLUME /home/logs/ruoyi-file
VOLUME /home/logs/february-file
# 构建复制外部文件到dcoker内部
COPY ./target/february-file-server.jar /home/app.jar
COPY ./february-file-server/target/february-file-server.jar /home/app.jar
# 工作目录 exec -it 进来就是默认这个目录
WORKDIR /home