Skip to content

Commit

Permalink
mod: dockerfile 设置堆大小为1GB
Browse files Browse the repository at this point in the history
  • Loading branch information
yangrunkang committed Apr 5, 2023
1 parent 9ffd50e commit 9a2d5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jdk-alpine
ARG JAR_FILE=upupor-web/target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
ENTRYPOINT ["java","-jar","/app.jar","-Xmx1024m","-Xms1024m"]

0 comments on commit 9a2d5d5

Please sign in to comment.