```ktor { docker { jreVersion.set(Java...
# ktor
a
Copy code
ktor {
    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.
a
Can you please explain where you want to pass a file to?