Spreizu
Spreizu
NNuxt
Created by Spreizu on 11/6/2024 in #❓・help
SSG optimization
Hi! I’m looking for recommendations on how to setup a docker image that would be capable of running the static site generation. Currently I have moved the necessary dependencies under “dependencies” and everything thats not needed for generate under “devDependencies” in package.json. After running pnpm install —frozen-lockfile —prod in Dockerfile and using the node image as a base I get a 1 gig image.. Generate works, but the image size is huge. Are there any other recommendations on how to reduce the image size further?
6 replies