Container deployment in Azure

I have managed to run locally the docker image of BotRunner, but when I deploy it in Azure’s Container Instances I could not.

I tried to config the commands as shown bellow, but I got an error I do not know how to fix.

Configs

Logs

[2023/11/12 02:21:04] Initializing BotCity Runner - Version: 2.8.3
java.lang.NullPointerException: Cannot invoke “java.io.File.getAbsolutePath()” because the return value of “dev.botcity.commons.botconfig.ConfigFile.discoverConfigfile(String)” is null
at dev.botcity.runner.BotRunner.loadProperties(BotRunner.java:817)
at dev.botcity.runner.BotRunner.startup(BotRunner.java:177)
at dev.botcity.runner.BotRunner.(BotRunner.java:136)
at dev.botcity.runner.BotRunner.main(BotRunner.java:884)
Failed to launch BotCity Runner.

Can anyone assist me on this?

Thank you!

PS. If a change the command field n Azure to “BotRunner” only, as it is in the documentation and runs locally, I get the error (when deployed in Azure):
logs-config1

@jamaral the problem is that Azure is giving you the option to replace the entrypoint command.

Could you give it a try with the following value: /botcity/wrapper.sh BotRunner

This should fix the problem. In the meantime, I will do some research on how to pass arguments to the container instead of replacing the entrypoint command.

Let me know how this goes for you.