mkdir /www/ChuanhuChatGPT
mkdir /www/ChuanhuChatGPT/history
docker run --rm tuchuanhuhuhu/chuanhuchatgpt:latest \
cat /app/config_example.json > /www/ChuanhuChatGPT/config.json
docker run -d --name ChuanhuChat \
-v ~/ChuanhuChatGPT/history:/app/history \
-v /www/ChuanhuChatGPT/config.json:/app/config.json \
-p 7860:7860 \
tuchuanhuhuhu/chuanhuchatgpt:latest
Last modification:December 13, 2023
© Allow specification reprint