Alwin Varghese
11/22/2024, 3:37 PMktor {
docker {
jreVersion.set(JavaVersion.VERSION_17)
portMappings.set(
listOf(
io.ktor.plugin.features.DockerPortMapping(
30,
8080,
io.ktor.plugin.features.DockerPortMappingProtocol.TCP
)
)
)
val envVars = loadEnvFile().map { (key, value) ->
DockerEnvironmentVariable(key, value)
}
environmentVariables.set(envVars)
}
}
guys i want to pass a file that's in .gitignore
to this docker image build. How can i pass it here? this is from build.gradle.kts
for docker plugin.Aleksei Tirman [JB]
11/25/2024, 7:57 AM