We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79460d6 commit 133611fCopy full SHA for 133611f
Dockerfile
@@ -1,6 +1,5 @@
1
-FROM gcr.io/distroless/java17-debian11
2
-COPY build/libs/tms-varsel-api-all.jar app/app.jar
3
-ENV PORT=8080
4
-EXPOSE $PORT
5
-WORKDIR app
6
-CMD ["app.jar"]
+FROM ghcr.io/navikt/baseimages/temurin:21
+
+ENV JAVA_OPTS='-XX:MaxRAMPercentage=75'
+COPY build/libs/*.jar ./
build.gradle.kts
@@ -3,7 +3,7 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
kotlin("jvm").version(Kotlin.version)
- id(Shadow.pluginId) version (Shadow.version)
+ id(TmsJarBundling.plugin)
7
8
application
9
}
0 commit comments