Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 372 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 372 Bytes

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.