Docker image is huge, optimization needed
rounakdatta opened this issue · comments
Rounak Datta commented
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
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.
Sonny Bhatia commented
Agreed. Why use node:19-bullseye-slim
instead of node:alpine
as the base?
Cogent Apps commented
Resolved.