修复openapi模块docker部署失败的问题
This commit is contained in:
@@ -8,6 +8,9 @@ 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
|
||||||
|
|
||||||
|
# 创建 JVM GC 日志、堆转储和应用日志目录
|
||||||
|
RUN mkdir -p /opt/logs
|
||||||
|
|
||||||
COPY ./target/blade-openapi.jar /opt/app.jar
|
COPY ./target/blade-openapi.jar /opt/app.jar
|
||||||
|
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ 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
|
||||||
|
|
||||||
|
# 创建 JVM GC 日志、堆转储和应用日志目录
|
||||||
|
RUN mkdir -p /opt/logs
|
||||||
|
|
||||||
COPY ./target/blade-openapi.jar /opt/app.jar
|
COPY ./target/blade-openapi.jar /opt/app.jar
|
||||||
|
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
|
|||||||
Reference in New Issue
Block a user