From 08edb42ae0edc2406ea70cfb5b1615bc55fb625a Mon Sep 17 00:00:00 2001 From: dragove Date: Sat, 2 Mar 2024 13:45:59 +0800 Subject: [PATCH] ci: add options for dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 75f496fc..8c5c8d02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,4 @@ FROM amazoncorretto:21-alpine as runner WORKDIR /app COPY ./build/libs/MaaBackendCenter*.jar /MaaBackendCenter.jar EXPOSE 7000-9000 -ENTRYPOINT ["java", "-jar", "/MaaBackendCenter.jar"] +ENTRYPOINT ["java", "-jar", "/MaaBackendCenter.jar", "${JAVA_OPTS}"]