Skip to content

nvonbenken/vite-runtime-vars-docker

Repository files navigation

Minimal Reproducable Example of runtime variable substitution with import-meta-env using Vite and Docker

To Reproduce:

  1. Install Packages
npm i
  1. Build docker image
docker build . -t vite-runtime-vars-docker
  1. Run docker image
docker run -d -p 5173:80 --env TEST=test
  1. Observe that variables are not available in the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published