templates.graphql.dockerfileslim.rocker.raw Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of light-graphql-4j-generator Show documentation
Show all versions of light-graphql-4j-generator Show documentation
light-graphql-4j code generator.
@import com.fasterxml.jackson.databind.JsonNode
@args (JsonNode config, String expose)
FROM openjdk:11.0.3-slim
@if(config.get("buildMaven").booleanValue()){
@with (name = config.get("artifactId").textValue() + "-" + config.get("version").textValue() + ".jar") {COPY /target/@name server.jar}
}else{
@with (name = config.get("artifactId").textValue() + ".jar") {COPY /build/libs/@name server.jar}
}
CMD ["/bin/sh","-c","exec java -Dlight-4j-config-dir=/config -Dlogback.configurationFile=/config/logback.xml -jar /server.jar"]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy