Fix lucene illegal reflective access warning
This commit is contained in:
parent
64059984d3
commit
cb58a4fbe0
15
Dockerfile
15
Dockerfile
@ -24,4 +24,17 @@ COPY --from=jdkbuilder /myjdk /myjdk
|
|||||||
COPY simplenotes-app/build/libs/app-*-all.jar /app/simplenotes.jar
|
COPY simplenotes-app/build/libs/app-*-all.jar /app/simplenotes.jar
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ["/myjdk/bin/java", "-server", "-XX:+UnlockExperimentalVMOptions", "-Xms64m", "-Xmx256m", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "simplenotes.jar"]
|
CMD [ \
|
||||||
|
"/myjdk/bin/java", \
|
||||||
|
"--add-opens", \
|
||||||
|
"java.base/java.nio=ALL-UNNAMED", \
|
||||||
|
"-server", \
|
||||||
|
"-XX:+UnlockExperimentalVMOptions", \
|
||||||
|
"-Xms64m", \
|
||||||
|
"-Xmx256m", \
|
||||||
|
"-XX:+UseG1GC", \
|
||||||
|
"-XX:MaxGCPauseMillis=100", \
|
||||||
|
"-XX:+UseStringDeduplication", \
|
||||||
|
"-jar", \
|
||||||
|
"simplenotes.jar" \
|
||||||
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user