how to make environment variables configurable during runtime? #7671
Unanswered
huytruong1908
asked this question in
Help/Questions
Replies: 1 comment
-
From the description, it seems that this has nothing to do with vue, you can go to the build tool warehouse to ask. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello i am new to frontend dev and I am trying to dockerize my small project but I have a problem: I want to change my environment variable during runtime, for example when I use
docker run --env MY_ENV_VARIABLE=NEW_VALUE
. I have tried the idea creating entrypoint.sh to replace the string at runtime as these suggestions this and this but they do not work. The value of the environmen variable is still the same as when I build the project. Do you guys have any other suggestions?Beta Was this translation helpful? Give feedback.
All reactions