Dockerized Vue app – should I use docker or node env variables?

I have dockerized vue.js application and would like to know if I should store env variables inside docker, Vue config or other place?

What is the best practice for it? I hardly see the difference since I would only have 2 environments (dev and prod)..

Source: StackOverflow