Netanel Malka
02/22/2024, 7:30 AMMarvin
02/22/2024, 7:31 AMDockerfile
that uses a base image with a Java runtime environment, adds your Kotlin application, and specifies the command to run it.
3. Build the Docker image.
4. Use Prefect to deploy your Docker-based flow that invokes your Docker image containing the Kotlin application.
For detailed instructions on deploying flows with Docker in Prefect, you can refer to the Docker deployment guide and the Kubernetes deployment guide.
Keep in mind that while this approach lets you run Kotlin code, you would still have to interface with Prefect's Python SDK to define and orchestrate your flows. If you need help with specific Prefect configurations or Kotlin-related Docker settings, please let me know, and I'll assist you to the best of my ability.