PUBLIC_BACKEND_SERVER_URL is not exported error During Docker Build Despite Being Set in .env File in SvelteKit Project
I’m working on a SvelteKit project and I’m encountering an issue where the PUBLIC_BACKEND_SERVER_URL
environment variable, which I have defined in my .env
file, is not being recognized during the Docker build process. Here are the details of the error and my setup:
PUBLIC_BACKEND_SERVER_URL is Undefined During Docker Build Despite Being Set in .env File in SvelteKit Project
I’m working on a SvelteKit project and I’m encountering an issue where the PUBLIC_BACKEND_SERVER_URL
environment variable, which I have defined in my .env
file, is not being recognized during the Docker build process. Here are the details of the error and my setup: