namviek icon indicating copy to clipboard operation
namviek copied to clipboard

Docker image size too big (2Gb)

Open hudy9x opened this issue 5 months ago • 1 comments

The docker image is too big > 2GB for now. It's hard to push to some free registry like docker hub
Need to optimize the docker image to < 1GB Try to separate backend and frontend into 2 image Regarding the backend, only install packages in production mode And the frontend, try to use 'standalone' config in next.config.js to export necessary package and files into one folder

hudy9x avatar Sep 27 '24 01:09 hudy9x