Next.js Discord

Discord Forum

Fetching server side causes error when building docker image

Unanswered
French Lop posted this in #help-forum
Open in Discord
French LopOP
Im trying to deploy my project in AWS. However when i do "docker build -t projectname .". I notice that every fetch call Im doing from pages(server components) causes the build to fail. Im using the default dockerfile from nextjs docs.

0 Replies