Signed-off-by: tgooogt <tgooogt123@163.com>
This commit is contained in:
tgooogt 2023-07-19 03:21:08 +00:00 committed by Gitee
parent 831c6963aa
commit 81962c5af4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ LABEL maintainer=tangang
#启动自行加载 服务名-prod.yml配置
ENV PARAMS="--server.port=8080 --spring.profiles.active=dev --spring.cloud.nacos.server-addr=his-nacos.his:8848 --spring.cloud.nacos.config.file-extension=yml"
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
# 基础镜像已经修改完时区,这里注释掉
# RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
COPY ruoyi-gateway/target/*.jar /app.jar
EXPOSE 8080