Skip to content

How can I deploy this to Vercel as a standalone server api/microservice? #186

Answered by psugihara
steve-rodri asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @steve-rodri, thanks for trying mailing.

mailing server build builds a production next app in your .mailing directory

Assuming mailing.config.json was in your root directory, on vercel you'd configure Build & Development settings with

Framework preset: Next.js
Build command: npx mailing server build
Output dir: .mailing/.next

I added an issue to make this more automatic with a vercel.json in #190

cc @alexfarrill

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by steve-rodri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants