Skip to content

Commit

Permalink
ci: add options for dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dragove committed Mar 2, 2024
1 parent 3d19287 commit 08edb42
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
Expand Up @@ -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}"]

0 comments on commit 08edb42

Please sign in to comment.