In my java app, I read a env variable as:
<code>String inputPath = System.getProperty("INPUT_PATH");
</code>
<code>String inputPath = System.getProperty("INPUT_PATH");
</code>
String inputPath = System.getProperty("INPUT_PATH");
I then run this in a docker container as:
<code>docker run -it -e INPUT_PATH='/home/...data/input.txt' myapp:1.0.0
</code>
<code>docker run -it -e INPUT_PATH='/home/...data/input.txt' myapp:1.0.0
</code>
docker run -it -e INPUT_PATH='/home/...data/input.txt' myapp:1.0.0
But program is unable to read the env var INPUT_PATH.
What mistake am I am making here?