Both stages are in the same dockerfile. And you end up with a single image. Here's the explanation from the official docker docs:
With multi-stage builds, you use multiple FROM statements in your Dockerfile. Each FROM instruction can use a different base, and each of them begins a new stage of the build. You can selectively copy artifacts from one stage to another, leaving behind everything you don’t want in the final image.
And for development, I don't use nginx. I just use the vue cli dev server. (npm run serve)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That looks quite interesting. then later only push the production-stage image to your registry, right?
For development do you use Nginx at all?
Both stages are in the same dockerfile. And you end up with a single image. Here's the explanation from the official docker docs:
And for development, I don't use nginx. I just use the vue cli dev server. (npm run serve)