From 06f06ce390a268800eace3dfc4785b8846f3c173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Mon, 1 Nov 2021 17:44:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20Linux=20=E6=B8=85?= =?UTF-8?q?=E9=99=A4=E4=B8=B4=E6=97=B6=E7=9B=AE=E5=BD=95=20=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E4=B8=8A=E4=BC=A0=E6=89=BE=E4=B8=8D=E5=88=B0=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/Dockerfile | 1 + ruoyi-admin/src/main/resources/application-prod.yml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/ruoyi-admin/Dockerfile b/ruoyi-admin/Dockerfile index 88f4932b..1bbd2ccf 100644 --- a/ruoyi-admin/Dockerfile +++ b/ruoyi-admin/Dockerfile @@ -4,6 +4,7 @@ MAINTAINER Lion Li RUN mkdir -p /ruoyi/server RUN mkdir -p /ruoyi/server/logs +RUN mkdir -p /ruoyi/server/temp WORKDIR /ruoyi/server diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index 9aac0e3b..4f024f45 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -1,3 +1,10 @@ +--- # 配置临时路径存储 +spring: + servlet: + multipart: + # 临时文件存储位置 避免临时文件被系统清理报错 + location: ./temp + --- # 监控配置 spring: boot: