Dockerfile
@@ -5,7 +5,7 @@ EXPOSE 81 #启动自行加载 服务名-prod.yml配置 ENV PARAMS="--server.port=81 --spring.profiles.active=prod" ENV PARAMS="--server.port=81 --spring.profiles.active=test" RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone COPY target/zhbaw.jar /app.jar