How can I pass ENV value in Dockerfile from .env file?
My directory structure looks like this. | | --- Dockerfile | --- .env Content of .env file looks like this. VERSION=1.2.0 DATE=2022-05-10 I want to access VERSION and DATE as environment variable both during build time and run time. So…