Add JVM's string memory optimization to the REST API Docker container for using `MavenResolverIO` and fetching >1 million POMs
@@ -3,6 +3,6 @@ FROM openjdk:11-jre-slim
WORKDIR /app
COPY ./target/*.jar ./rest-api.jar
-ENTRYPOINT java $JAVA_OPTS -jar /app/rest-api.jar $0 $@
+ENTRYPOINT java $JAVA_OPTS -XX:+UseG1GC -XX:+UseStringDeduplication -XX:-CompactStrings -jar /app/rest-api.jar $0 $@
EXPOSE 8080
