cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice
https://www.chatwithgpt.ai
MIT License
2.3k stars 489 forks source link

Docker image is huge, optimization needed #143

Closed rounakdatta closed 1 year ago

rounakdatta commented 1 year ago

Hello again!

The size of the Docker image is huge (about 3GB). I think we can do obvious optimizations to bring down the size. Even I get an occasional OOM when running the container with lower resources. I believe the app shouldn't be that memory-heavy as well right?

crim50n commented 1 year ago

I am also interested in this question. https://github.com/crim50n/ChatGPT-Next-Web has almost the same functionality (no voice synthesizer) and takes 285 MB.

aadityabhatia commented 1 year ago

Agreed. Why use node:19-bullseye-slim instead of node:alpine as the base?

cogentapps commented 1 year ago

Resolved.