I am working on a simple Docker image that has a large number of environment variables. Are you able to import an environment variable file like with docker-compose? I canno
If you need environment variables runtime, it's easiest to create a launcher script that sets up the environment with multiple export statements and then launches your process.
If you need them build time, have a look at the ARG and ENV statements. You'll need one per variable.