How to deploy NextJS 13 on Azure?
Unanswered
American black bear posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
American black bearOP
Is it optimal to dpeloy on Azure? And, How to deploy the nextjs application which follows app folder structure
5 Replies
![Avatar](https://cdn.discordapp.com/avatars/809942393637306400/1e4e5a29a08b96de9a1e3d3520b5e771.webp?size=256)
tafutada777
Azure Container Apps would be easier as it's Dockerizing an app.
https://code.visualstudio.com/docs/containers/app-service
https://code.visualstudio.com/docs/containers/app-service
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
American black bearOP
@tafutada777 do you have any nextjs examples of docker-compose and Dockerfile files
![Avatar](https://cdn.discordapp.com/avatars/809942393637306400/1e4e5a29a08b96de9a1e3d3520b5e771.webp?size=256)
tafutada777
just google it. many examples out there like this.
https://geshan.com.np/blog/2023/01/nextjs-docker/
https://geshan.com.np/blog/2023/01/nextjs-docker/
one caveat. you might need to make pages dynamic as Next.js executes codes when building a Docker image, meaning static pages are backed in the image, which would be problem when spinning up an instance. many people get stuck with it and asked here.
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
American black bearOP
Thanks @tafutada777