Closed wangliangliang2 closed 1 year ago
I also have a need for this. After Github updates, it is a bit inconvenient to re-build Docker Image. I need to delete the GitHub project directory on the VPS first, and then replace the default.json, which is a bit cumbersome.
OK, I'll refactor the docker-related files (like separating browserless and browser-based versions) when I have time. Already pushed a temporary fix in 668820e.
OK, I'll refactor the docker-related files (like separating browserless and browser-based versions) when I have time. Already pushed a temporary fix in 668820e.
this temporary fix will not work. base on code, it need config not configs.
@wangliangliang2 My bad. Fixed in 36593fb.
since .env is useless , code should be deleted. https://github.com/RainEggplant/chatgpt-telegram-bot/blob/4b4ecd51896e16155e6fc78c43bab4feac21188b/docker-compose.yml#L6
new version uses local.json, please insert code in Dockerfile
https://github.com/RainEggplant/chatgpt-telegram-bot/blob/4b4ecd51896e16155e6fc78c43bab4feac21188b/Dockerfile#L26 or add code in docker-compose.yml
by the way , It's better to add code in docker-compose.yml