Files
dev-toolbox/Dockerfile
T
promise_cyf 7dcb094f4e feat(juhe): 增加Redis缓存与每日调用限流
重构聚合数据客户端为服务层,引入Redis缓存及每日调用上限50次,超限后降级使用缓存;调整默认激活prod并移除MySQL profile;处理静态资源404异常。

添加用户友好界面,增加京备案号
2026-10-10 14:24:49 +08:00

10 lines
461 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 运行阶段:直接使用你本地已打好的 jar(放在本目录,与 Dockerfile / docker-compose.yml 同级)
# 用法:先本地执行 mvn package(JDK 21),把 target/devToolBox-1.0-SNAPSHOT.jar 复制到本目录
FROM eclipse-temurin:21-jre
WORKDIR /app
ENV TZ=Asia/Shanghai
# 本目录下放且仅放一个 jar(.dockerignore 已排除 target/,避免误打包)
COPY *.jar app.jar
EXPOSE 8077
ENTRYPOINT ["java", "-jar", "/app/app.jar"]