Open andriilive opened 1 week ago
My working app playground: Next.js in Docker for EasyPanel.
Repository: https://github.com/digitalandyeu/next-with-docker
Step-by-step config guide with screenshots: https://gist.github.com/andriilive/38e0c30ad0e68e01d0bfc5250998de50
Live example: url
The default next.js box build returns internal server error on a front, build passing with warnings
also, using
start
script with standalone output is outdated method, should be updated to something like below instead:See:
Docker docs: https://nextjs.org/docs/app/building-your-application/deploying#docker-image Output standalone docs: https://nextjs.org/docs/pages/api-reference/next-config-js/output#automatically-copying-traced-files