This project builds with .NET Core 2.2 and can be built by running dotnet build
on the command line from the root of the Solution.
You can build the ConsoleBot
in to a docker image by executing docker build -t "dkuwahara/d2ng:$TAG ."
from the root of the project.
ConsoleBot expects a config.yml
file that can be passed in via the "--config" flag. The config.yml
should look as follows:
classicKey: string
expansionKey: string
realm: string
username: string
password: string
You'll need to mount the directory that has your config.yml
so that the program can find it. Example:
docker run \
--mount src="${pwd}/config",target=/config,type=bind \
dkuwahara/d2ng:$TAG \
--config /config/config.yml