Next.js Discord

Discord Forum

dockerization to deploy on prod not working

Asian black bear posted this in #help-forum
Open in Discord
Asian black bearOP
I'm following the docker deploy of my next typescript app that is here but I can't create the image

2 Replies

Golden-winged Warbler
We had to fiddle with a few things to get a good, containerized, production build.

This is roughly a multi-stage dockerfile, but written with

We also deploy nginx with it
Golden-winged Warbler
I found a better multi-stage dockerfile elsewhere on the internet that I based this on (some blog I cannot find a.t.m.)