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?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community