fix
This commit is contained in:
parent
9eae7e424f
commit
1c572e9c8d
@ -14,7 +14,7 @@ RUN gradle bootJar
|
|||||||
# 使用官方的Java运行时作为最终的运行环境
|
# 使用官方的Java运行时作为最终的运行环境
|
||||||
FROM openjdk:17-jdk-slim
|
FROM openjdk:17-jdk-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build/libs /app/build/libs/*.jar app.jar
|
COPY --from=build /app/build/libs/*.jar app.jar
|
||||||
|
|
||||||
# 设置应用运行的端口
|
# 设置应用运行的端口
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
Loading…
Reference in New Issue
Block a user