Dockerfile for TS3AudioBot. Uses mcr.microsoft.com/dotnet/core/sdk:3.1-bionic as a base image
Docker Hub:
https://hub.docker.com/r/ancieque/ts3audiobot
Setup the data directory
mkdir -p $(pwd)/data
chown -R 9999:9999 $(pwd)/data
Run the initial setup to generate all the initial configuration files:
docker run --rm -v $(pwd)/data:/data -it ancieque/ts3audiobot:0.11.0
After the initial configuration setup has finished, stop the server with CTRL-C and configure your bot in the configuration files accordingly. Then run the actual container again as a daemon:
docker run --name ts3audiobot -d -v $(pwd)/data:/data ancieque/ts3audiobot:0.11.0
To build the docker image with all the defaults, run:
docker build -f Dockerfile -t local.docker.image/ts3audiobot:latest .
To build the docker image with a specific version of TS3AudioBot, run:
docker build -f Dockerfile --build-arg TS3_AUDIOBOT_RELEASE=0.11.0 -t local.docker.image/ts3audiobot:0.11.0 .
To build the docker image in a specific flavour (default is TS3AudioBot_dotnet_core_3.1.zip), run:
docker build -f Dockerfile --build-arg TS3_AUDIOBOT_FLAVOUR=TS3AudioBot_dotnet_core_3.1.zip -t local.docker.image/ts3audiobot:0.11.0 .
Content type
Image
Digest
Size
98.6 MB
Last updated
over 4 years ago
docker pull ancieque/ts3audiobot