This project integrates nonebot and go-cqhttp into a Docker image.
Please change "/path/to" to your path.
git clone https://github.com/yang6world/qqbot-docker.git
cd qqbot-docker
docker build -t nonebot .
docker run -it -v /path/to:/path/to -w /path/to/nb nonebot nb
to create a configuration file
docker run --name=nonebot --network=host -d -it -v /path/to/nb:/path/to/nb -w /path/to/nb nonebot
Please modify the docker-compose.yaml file to your requirements.
docker-compose up -d