Reproduction repository for undefined environment variables in production build of SvelteKit when providing through Docker.
docker-compose -f docker-compose.dev.yml up --build -d
http://localhost
and verify that the value of the specified environment variable is available.docker-compose -f docker-compose.dev.yml down
docker-compose up --build -d
http://localhost
to find the undefined value of the environment variable.docker-compose down