VITE_CODE_GEN_URL is used in building the React UI Dockerfile.
|
ENV VITE_CODE_GEN_URL=$BACKEND_SERVICE_ENDPOINT |
Is this environment variable configurable after building the npm app and copying it into nginx container? I tried to pass it via container envs but it doesn't seem to pick it up in the runtime. It would be best to make it very clear in the README that this is only customizable during build time and not in the runtime.
VITE_CODE_GEN_URL is used in building the React UI Dockerfile.
GenAIExamples/CodeGen/docker/ui/docker/Dockerfile.react
Line 11 in 09a3196
Is this environment variable configurable after building the npm app and copying it into nginx container? I tried to pass it via container envs but it doesn't seem to pick it up in the runtime. It would be best to make it very clear in the README that this is only customizable during build time and not in the runtime.