How to resolve the error: failed to solve: process “/bin/sh -c yarn install –frozen-lockfile” when building docker file?
I try to dockerize a next.js app.
Large nextjs docker image
So im building this Dockerfile to deploy my nextjs application. Now this dockerfile should build a production nextjs application. But my docker image is rather large 2.3gb. Here is my Dockerfile.