DokployD
Dokploy16mo ago
10 replies
Hype

Ports not exposed in NextJS app with nixpacks

I couldn't find information on the internet, I have basic nextjs14 app that needs ports exposed as .env variable set in Dokploy is "PORT=3002" and for some reason nixpacks don't detec't the port resulting in making Docker container that has not exposed ports, which means the app is not accessible by anyone. How do I fix that, because I can manually make "docker run [my created docker container here]" but that makes me doing everything from scratch and Dokploy isn't a solution then.
image.png
Was this page helpful?