修改DokcerFile
parent
692b8984f6
commit
7f13f81f66
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue