Next.js Discord

Discord Forum

how to use custom express server in docker?

Unanswered
Asian black bear posted this in #help-forum
Open in Discord
Asian black bearOP
anyone got a dockerfile where you use custom express server instead of default server? my server.js file is in the root but docker is throwing file missing error. I am using standlone output in next config

1 Reply

Asian black bearOP
even if I copy it using COPY command, it is throwing express not found error