Next js app deploy on Runpod

Dear Runpod community, I need to deploy our Next.js app on Runpod, similar to how it works on Vercel. In our Next.js app, I handle the frontend and also create backend APIs for MongoDB interactions. Additionally, I need to run scheduled jobs. Which hosting provider would you recommend for this setup? also can we do that with Runpod?
3 Replies
nerdylive
nerdylive5w ago
Are you building the entire app including the next. Js app in serverless? Serverless is based on jobs so I'm not sure it's a fit for next. Js, it's more fit to use pods for that. for scheduled jobs there is no feature yet in runpod for this, so you gotta schedule it and send it into runpod when you want it to be executed So to start you can just make a docker image that has your nextjs and create a template in runpod pointing to your docker registry, lastly in your template also expose the port of your app or you can just run a reverse proxy inside your docker image to connect to a domain that's all
nerdylive
nerdylive5w ago
GitHub
RunPod | Endpoints | Workers
Offical collection of worker repositories for serverless endpoints on RunPod. - RunPod | Endpoints | Workers
nerdylive
nerdylive5w ago
You can use the github repos there for references

Did you find this page helpful?