Skip to content

Commit

Permalink
fix 替换java基础镜像为jdk17
Browse files Browse the repository at this point in the history
  • Loading branch information
wertycn committed Feb 21, 2024
1 parent 0dd4301 commit 994d5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debugicu/jdk8:latest
FROM openjdk:17-jdk-slim
COPY app.jar /data/app.jar
EXPOSE 5480
CMD ["java","-jar","/data/app.jar","--spring.profiles.active=prod"]

0 comments on commit 994d5e1

Please sign in to comment.